Class: Distribuo::Admin::Apps::ReleasesController
- Inherits:
-
Distribuo::ApplicationAdminController
- Object
- Distribuo::ApplicationController
- Distribuo::ApplicationAdminController
- Distribuo::Admin::Apps::ReleasesController
- Defined in:
- app/controllers/distribuo/admin/apps/releases_controller.rb
Instance Method Summary collapse
Methods included from Respond
Instance Method Details
#create ⇒ Object
15 16 17 18 |
# File 'app/controllers/distribuo/admin/apps/releases_controller.rb', line 15 def create @release respond(@release.update(permitted_attributes(@release)), action: :index) end |
#edit ⇒ Object
24 |
# File 'app/controllers/distribuo/admin/apps/releases_controller.rb', line 24 def edit; end |
#new ⇒ Object
11 12 13 |
# File 'app/controllers/distribuo/admin/apps/releases_controller.rb', line 11 def new render :edit end |
#show ⇒ Object
20 21 22 |
# File 'app/controllers/distribuo/admin/apps/releases_controller.rb', line 20 def show render :edit end |
#update ⇒ Object
26 27 28 29 |
# File 'app/controllers/distribuo/admin/apps/releases_controller.rb', line 26 def update @release respond(@release.update(permitted_attributes(@release)), action: :index) end |