Class: SimpleResource::BaseController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/simple_resource/base_controller.rb

Direct Known Subclasses

UserResourceController

Instance Method Summary collapse

Instance Method Details

#createObject



22
23
24
# File 'app/controllers/simple_resource/base_controller.rb', line 22

def create
  create! { collection_url }
end

#updateObject



26
27
28
# File 'app/controllers/simple_resource/base_controller.rb', line 26

def update
  update! { collection_url }
end