From 125b013c109e6a74a6b7ae51f52c833c7c100e7b Mon Sep 17 00:00:00 2001 From: Steven Hancock Date: Fri, 18 May 2012 23:35:50 -0700 Subject: [PATCH] AppsController no longer exists Remove the AppsController check from the next_page_path helper, since AppsController no longer exists. fixes #3280 I'd like to write a helper spec for this, but it'll probably require some stubbing/mocking and I'm a little too tired to deal with that at the moment.. so for now let's just fix the problem. :) --- app/helpers/stream_helper.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/helpers/stream_helper.rb b/app/helpers/stream_helper.rb index c01579ca9..fdfbac0aa 100644 --- a/app/helpers/stream_helper.rb +++ b/app/helpers/stream_helper.rb @@ -6,8 +6,6 @@ module StreamHelper def next_page_path(opts ={}) if controller.instance_of?(TagsController) tag_path(:name => @stream.tag_name, :max_time => time_for_scroll(@stream)) - elsif controller.instance_of?(AppsController) - "/apps/1?#{{:max_time => @posts.last.created_at.to_i}.to_param}" elsif controller.instance_of?(PeopleController) local_or_remote_person_path(@person, :max_time => time_for_scroll(@stream)) elsif controller.instance_of?(PostsController)