public
Description: A Rails plugin to make creating a wizard easy and with a lot less code
Clone URL: git://github.com/Adkron/actsaswizard.git
Click here to lend your support to: actsaswizard and make a donation at www.pledgie.com !
actsaswizard / init.rb
100644 10 lines (8 sloc) 0.265 kb
1
2
3
4
5
6
7
8
9
10
require File.expand_path(File.join(File.dirname(__FILE__), *%w[lib acts_as_wizard]))
 
ActiveRecord::Base.class_eval do
  include AmosKing::Acts::Wizard
  include AmosKing::Acts::WizardPage
end
 
ActionView::Base.class_eval do
  include AmosKing::Acts::WizardHelper
end