Class: ScavengerHunt::CluesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ScavengerHunt::CluesController
- Defined in:
- lib/scavenger_hunt/app/controllers/scavenger_hunt/clues_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 |
# File 'lib/scavenger_hunt/app/controllers/scavenger_hunt/clues_controller.rb', line 6 def index end |
#show ⇒ Object
9 10 11 |
# File 'lib/scavenger_hunt/app/controllers/scavenger_hunt/clues_controller.rb', line 9 def show redirect_to(correct_game_clue_answer_path(@game, @clue)) if @clue.answered? end |