Module: Wizardly::ActionController::MacroMethods
- Defined in:
- lib/wizardly.rb
Instance Method Summary collapse
- #wizard_for_model(model, opts = {}, &block) ⇒ Object (also: #act_wizardly_for)
Instance Method Details
#wizard_for_model(model, opts = {}, &block) ⇒ Object Also known as: act_wizardly_for
7 8 9 10 11 |
# File 'lib/wizardly.rb', line 7 def wizard_for_model(model, opts={}, &block) include Wizardly::ActionController #check for validation group gem configure_wizard_for_model(model, opts, &block) end |