mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 05:02:18 +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)
|
||||
|
||||
if @activities.count > 0
|
||||
@more_activities_url = url_for(
|
||||
controller: 'my_modules',
|
||||
action: 'activities',
|
||||
format: :json,
|
||||
from: @activities.last.id)
|
||||
@more_activities_url =
|
||||
activities_my_module_path(@my_module, from: @activities.last.id)
|
||||
end
|
||||
|
||||
respond_to do |format|
|
||||
|
|
Loading…
Reference in a new issue