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 | 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