mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:19:52 +01:00
Merge remote-tracking branch 'origin/groups' into groups
This commit is contained in:
commit
1f73b3e3fa
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@ class GroupController < ApplicationController
|
|||
|
||||
def index
|
||||
@group = current_user.groups.find_by_name!(params[:group_name])
|
||||
@timeline = group.timeline.paginate(page: params[:page])
|
||||
@timeline = @group.timeline.paginate(page: params[:page])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue