Class: ActiveApplication::ResourceController
- Inherits:
-
SimpleResource::BaseController
- Object
- SimpleResource::BaseController
- ActiveApplication::ResourceController
- Defined in:
- app/controllers/active_application/resource_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
16 17 18 |
# File 'app/controllers/active_application/resource_controller.rb', line 16 def create create! { collection_url } end |
#render_not_found ⇒ Object
8 9 10 |
# File 'app/controllers/active_application/resource_controller.rb', line 8 def render_not_found render "active_application/public/404", status: :not_found, layout: false end |
#update ⇒ Object
20 21 22 |
# File 'app/controllers/active_application/resource_controller.rb', line 20 def update update! { collection_url } end |