From 2ffd514bf125cff339a3b013ad2133164da3db2b Mon Sep 17 00:00:00 2001 From: nilsding Date: Sat, 17 Jan 2015 19:14:18 +0100 Subject: [PATCH] forgot the @ --- app/controllers/group_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/group_controller.rb b/app/controllers/group_controller.rb index cd774b4e..7c3eb2c1 100644 --- a/app/controllers/group_controller.rb +++ b/app/controllers/group_controller.rb @@ -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