Commit 53182fda72490be538754bef092df0204a187f19
1 parent
4832eb56
Exists in
master
and in
1 other branch
Remvoing unused expire_page
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/controllers/choices_controller.rb
| @@ -55,7 +55,7 @@ class ChoicesController < InheritedResources::Base | @@ -55,7 +55,7 @@ class ChoicesController < InheritedResources::Base | ||
| 55 | 55 | ||
| 56 | def create_from_abroad | 56 | def create_from_abroad |
| 57 | authenticate | 57 | authenticate |
| 58 | - expire_page :action => :index | 58 | + #expire_page :action => :index |
| 59 | logger.info "inside create_from_abroad" | 59 | logger.info "inside create_from_abroad" |
| 60 | 60 | ||
| 61 | @question = Question.find params[:question_id] | 61 | @question = Question.find params[:question_id] |
| @@ -89,7 +89,7 @@ class ChoicesController < InheritedResources::Base | @@ -89,7 +89,7 @@ class ChoicesController < InheritedResources::Base | ||
| 89 | 89 | ||
| 90 | def update_from_abroad | 90 | def update_from_abroad |
| 91 | authenticate | 91 | authenticate |
| 92 | - expire_page :action => :index | 92 | + #expire_page :action => :index |
| 93 | @question = current_user.questions.find(params[:question_id]) | 93 | @question = current_user.questions.find(params[:question_id]) |
| 94 | @choice = @question.choices.find(params[:id]) | 94 | @choice = @question.choices.find(params[:id]) |
| 95 | 95 |
app/controllers/questions_controller.rb
| @@ -119,7 +119,7 @@ class QuestionsController < InheritedResources::Base | @@ -119,7 +119,7 @@ class QuestionsController < InheritedResources::Base | ||
| 119 | 119 | ||
| 120 | 120 | ||
| 121 | def set_autoactivate_ideas_from_abroad | 121 | def set_autoactivate_ideas_from_abroad |
| 122 | - expire_page :action => :index | 122 | + #expire_page :action => :index |
| 123 | logger.info("INSIDE autoactivate ideas") | 123 | logger.info("INSIDE autoactivate ideas") |
| 124 | 124 | ||
| 125 | 125 |