mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 13:12:13 +08:00
Merge pull request #986 from mlorb/ml-sci-2031
Fix error on task activity [SCI-2031]
This commit is contained in:
commit
edbcdc6bf4
1 changed files with 2 additions and 5 deletions
|
@ -83,11 +83,8 @@ class MyModulesController < ApplicationController
|
||||||
@activities = @my_module.last_activities(@last_activity_id, @per_page)
|
@activities = @my_module.last_activities(@last_activity_id, @per_page)
|
||||||
|
|
||||||
if @activities.count > 0
|
if @activities.count > 0
|
||||||
@more_activities_url = url_for(
|
@more_activities_url =
|
||||||
controller: 'my_modules',
|
activities_my_module_path(@my_module, from: @activities.last.id)
|
||||||
action: 'activities',
|
|
||||||
format: :json,
|
|
||||||
from: @activities.last.id)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
|
|
Loading…
Reference in a new issue