Skip to content

Commit

Permalink
remove some left over caching instance variables
Browse files Browse the repository at this point in the history
  • Loading branch information
robramsaynz committed Apr 7, 2015
1 parent dbdfe65 commit 33e40e3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/controllers/baskets_controller.rb
Expand Up @@ -40,7 +40,6 @@ def list

def rss
@number_per_page = 100
@cache_key_hash = { :rss => "basket_list" }
@baskets = Basket.all(:limit => @number_per_page, :order => 'id DESC')

respond_to do |format|
Expand Down
1 change: 0 additions & 1 deletion app/controllers/members_controller.rb
Expand Up @@ -311,7 +311,6 @@ def change_request_status
end

def rss
@cache_key_hash = { :rss => "#{@current_basket.urlified_name}_members_list" }
list_members_in('member')

respond_to do |format|
Expand Down
1 change: 0 additions & 1 deletion app/controllers/moderate_controller.rb
Expand Up @@ -24,7 +24,6 @@ def list
end

def rss
@cache_key_hash = { :rss => "#{@current_basket.urlified_name}_moderate_list" }
fetch_revisions
respond_to do |format|
format.xml
Expand Down
1 change: 0 additions & 1 deletion app/controllers/tags_controller.rb
Expand Up @@ -39,7 +39,6 @@ def show
def rss
@number_per_page = 100
# this doesn't work with http auth from and IRC client
@cache_key_hash = { :rss => "#{privacy_type}_tags_list" }
@tags = @current_basket.tag_counts_array(:order => 'latest',
:direction => 'desc',
:limit => @number_per_page,
Expand Down

0 comments on commit 33e40e3

Please sign in to comment.