Commit 53182fda72490be538754bef092df0204a187f19

Authored by Dhruv Kapadia
1 parent 4832eb56

Remvoing unused expire_page

app/controllers/choices_controller.rb
... ... @@ -55,7 +55,7 @@ class ChoicesController < InheritedResources::Base
55 55  
56 56 def create_from_abroad
57 57 authenticate
58   - expire_page :action => :index
  58 + #expire_page :action => :index
59 59 logger.info "inside create_from_abroad"
60 60  
61 61 @question = Question.find params[:question_id]
... ... @@ -89,7 +89,7 @@ class ChoicesController < InheritedResources::Base
89 89  
90 90 def update_from_abroad
91 91 authenticate
92   - expire_page :action => :index
  92 + #expire_page :action => :index
93 93 @question = current_user.questions.find(params[:question_id])
94 94 @choice = @question.choices.find(params[:id])
95 95  
... ...
app/controllers/questions_controller.rb
... ... @@ -119,7 +119,7 @@ class QuestionsController < InheritedResources::Base
119 119  
120 120  
121 121 def set_autoactivate_ideas_from_abroad
122   - expire_page :action => :index
  122 + #expire_page :action => :index
123 123 logger.info("INSIDE autoactivate ideas")
124 124  
125 125  
... ...