Class: ResourceController::Base
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ResourceController::Base
- Defined in:
- lib/resource_controller/base.rb
Overview
ResourceController::Base
Inherit from this class to create your RESTful controller. See the README for usage.
Class Method Summary collapse
Class Method Details
.inherited(subclass) ⇒ Object
10 11 12 13 |
# File 'lib/resource_controller/base.rb', line 10 def self.inherited(subclass) super subclass.class_eval { resource_controller } end |