Class: Admin::OutboundRequestsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/admin/outbound_requests_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/admin/outbound_requests_controller.rb', line 4

def index
  @outbound_requests = OutboundRequest.search(params)
  @services = EasyAdmin::OUTBOUND_SERVICES.invert
end

#showObject



9
10
11
# File 'app/controllers/admin/outbound_requests_controller.rb', line 9

def show
  @outbound_request = OutboundRequest.find(params[:id])
end