Class: Droom::OrganisationsController
- Inherits:
-
EngineController
- Object
- ApplicationController
- EngineController
- Droom::OrganisationsController
- Defined in:
- app/controllers/droom/organisations_controller.rb
Instance Method Summary collapse
Methods inherited from EngineController
Instance Method Details
#create ⇒ Object
8 9 10 11 |
# File 'app/controllers/droom/organisations_controller.rb', line 8 def create @organisation.update_attributes(organisation_params) respond_with @organisation end |
#destroy ⇒ Object
22 23 24 25 |
# File 'app/controllers/droom/organisations_controller.rb', line 22 def destroy @organisation.destroy head :ok end |
#show ⇒ Object
18 19 20 |
# File 'app/controllers/droom/organisations_controller.rb', line 18 def show respond_with @organisation end |
#update ⇒ Object
13 14 15 16 |
# File 'app/controllers/droom/organisations_controller.rb', line 13 def update @organisation.update_attributes(organisation_params) respond_with @organisation end |