Sha256: cebbebd30eab1dd7a3cb93e9418cfb97e7606990dbbe31f078c2f81bc906c3c6
Contents?: true
Size: 573 Bytes
Versions: 34
Compression:
Stored size: 573 Bytes
Contents
module Workarea class Admin::OrdersController < Admin::ApplicationController required_permissions :orders before_action :find_order, except: :index after_action :track_index_filters, only: :index def index search = Search::AdminOrders.new( params.merge(autocomplete: request.xhr?) ) @search = Admin::OrderSearchViewModel.new(search, view_model_options) end def show end def timeline end private def find_order @order = Admin::OrderViewModel.new(Order.find(params[:id])) end end end
Version data entries
34 entries across 34 versions & 1 rubygems