Class: SimpleResource::BaseController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- SimpleResource::BaseController
- Defined in:
- app/controllers/simple_resource/base_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
22 23 24 |
# File 'app/controllers/simple_resource/base_controller.rb', line 22 def create create! { collection_url } end |
#update ⇒ Object
26 27 28 |
# File 'app/controllers/simple_resource/base_controller.rb', line 26 def update update! { collection_url } end |