Wicked::AlwaysRenderable is Wicked extension.
We sometimes want to invoke render instead of redirect_to. Use Wicked::AlwaysRenderable and alway render the template via render_wizard.
Add this line to your application's Gemfile:
gem 'wicked-always_renderable'And then execute:
$ bundle
Or install it yourself as:
$ gem install wicked-always_renderable
Just include Wicked::AlwaysRenderable and render_wizard!
class SomeWizardController < ApplicationController
include Wicked::Wizard
include Wicked::AlwaysRenderable
... (snip) ...
end
Bug reports and pull requests are welcome on GitHub at https://github.com/toshiyukihina/wicked-always_renderable.
The gem is available as open source under the terms of the MIT License.