Class: Admin::Atreides::OrdersController
- Inherits:
-
Atreides::AdminController
- Object
- Atreides::AdminController
- Admin::Atreides::OrdersController
- Includes:
- Atreides::Extendable
- Defined in:
- app/controllers/admin/atreides/orders_controller.rb
Instance Method Summary collapse
Instance Method Details
#filter ⇒ Object
11 12 13 14 15 |
# File 'app/controllers/admin/atreides/orders_controller.rb', line 11 def filter respond_to do |wants| wants.html { render "index" } end end |
#show ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/admin/atreides/orders_controller.rb', line 5 def show super do |wants| wants.html { redirect_to edit_admin_order_path(resource) } end end |