Class: Admin::Atreides::OrdersController

Inherits:
Atreides::AdminController
  • Object
show all
Includes:
Atreides::Extendable
Defined in:
app/controllers/admin/atreides/orders_controller.rb

Instance Method Summary collapse

Instance Method Details

#filterObject



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

#showObject



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