Module: CrudMethods
- Defined in:
- lib/crud_methods.rb,
lib/crud_methods/version.rb,
lib/crud_methods/controller.rb
Defined Under Namespace
Modules: Controller
Constant Summary collapse
- VERSION =
"0.0.1"
- ACTIONS =
{ :C => [:create!, :new!], :U => [:edit!, :update!], :D => [:destroy!], :R => [:show!, :index!] }
- DEFAULT_ACTIONS =
[:new, :create, :edit, :update, :show, :index, :destroy]
- @@actions =
ACTIONS
- @@default_actions =
DEFAULT_ACTIONS
- @@default_extension =
{}