remove activeadmin remains
This commit is contained in:
parent
fde81ec34c
commit
c31f02aa4c
|
@ -1,10 +0,0 @@
|
|||
module ActiveAdmin::AdminHelper
|
||||
|
||||
include ActiveAdmin::Views
|
||||
|
||||
def admin_polymorphic_path(resource)
|
||||
self.send("admin_#{resource.class.to_s.underscore}_path", resource)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
@ -19,11 +19,11 @@ li.sidebar-list
|
|||
a href="https://abf.openmandriva.org/massbuild"
|
||||
| Mass build status
|
||||
span.menu-icon.fa.fa-circle-o
|
||||
- if current_user.try(:admin?)
|
||||
li.sidebar-list
|
||||
a href=admin_users_path
|
||||
= t('admins_menu_header')
|
||||
span.menu-icon.fa.fa-lock
|
||||
/ - if current_user.try(:admin?)
|
||||
/ li.sidebar-list
|
||||
/ a href=admin_users_path
|
||||
/ = t('admins_menu_header')
|
||||
/ span.menu-icon.fa.fa-lock
|
||||
- if current_user
|
||||
li.sidebar-title
|
||||
span
|
||||
|
|
|
@ -4,7 +4,7 @@ require 'sidekiq-scheduler/web'
|
|||
Rails.application.routes.draw do
|
||||
|
||||
# ActiveAdmin routes.
|
||||
ActiveAdmin.routes(self)
|
||||
# ActiveAdmin.routes(self)
|
||||
|
||||
# namespace :admin do
|
||||
# constraints Rosa::Constraints::AdminAccess do
|
||||
|
|
Loading…
Reference in New Issue