Use BaseController in admin

This commit is contained in:
Artur Beljajev 2017-08-22 01:17:50 +03:00
parent cee4c84edd
commit a63b989cd6
36 changed files with 1265 additions and 1215 deletions

View file

@ -1,7 +1,9 @@
class Admin::DelayedJobsController < AdminController
authorize_resource class: false
module Admin
class DelayedJobsController < BaseController
authorize_resource class: false
def index
@jobs = Delayed::Job.all
def index
@jobs = Delayed::Job.all
end
end
end