Module: Pragma::Rails::ResourceController
- Defined in:
- lib/pragma/rails/resource_controller.rb
Overview
Exposes CRUD operations on a resource through a Rails controller.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
7 8 9 10 11 |
# File 'lib/pragma/rails/resource_controller.rb', line 7 def self.included(klass) klass.include Controller klass.extend ClassMethods klass.include InstanceMethods end |