Permalink
Browse files

Merge pull request #72 from kete/rr/rmv-caching

remove some left over caching instance variables
  • Loading branch information...
eoinkelly committed Apr 8, 2015
2 parents a4b88c4 + 33e40e3 commit 5f1aef658c3e786af39d1e8d5d45d78ff44abd70
@@ -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|
@@ -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|
@@ -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
@@ -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,

0 comments on commit 5f1aef6

Please sign in to comment.