Module: ActiveScaffold::Actions::Create
- Defined in:
- lib/active_scaffold/actions/create.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/active_scaffold/actions/create.rb', line 3 def self.included(base) base.before_filter :create_authorized_filter, :only => [:new, :create] base.verify :method => :post, :only => :create, :redirect_to => { :action => :index } end |