Class: Journea::JourneysController
- Inherits:
-
EngineController
- Object
- ApplicationController
- EngineController
- Journea::JourneysController
- Defined in:
- app/controllers/journea/journeys_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
4 5 6 7 |
# File 'app/controllers/journea/journeys_controller.rb', line 4 def create journey = model.create redirect_to edit_journey_step_path(journey, journey.state_machine.current_state) end |