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"
|
a href="https://abf.openmandriva.org/massbuild"
|
||||||
| Mass build status
|
| Mass build status
|
||||||
span.menu-icon.fa.fa-circle-o
|
span.menu-icon.fa.fa-circle-o
|
||||||
- if current_user.try(:admin?)
|
/ - if current_user.try(:admin?)
|
||||||
li.sidebar-list
|
/ li.sidebar-list
|
||||||
a href=admin_users_path
|
/ a href=admin_users_path
|
||||||
= t('admins_menu_header')
|
/ = t('admins_menu_header')
|
||||||
span.menu-icon.fa.fa-lock
|
/ span.menu-icon.fa.fa-lock
|
||||||
- if current_user
|
- if current_user
|
||||||
li.sidebar-title
|
li.sidebar-title
|
||||||
span
|
span
|
||||||
|
|
|
@ -4,7 +4,7 @@ require 'sidekiq-scheduler/web'
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
|
|
||||||
# ActiveAdmin routes.
|
# ActiveAdmin routes.
|
||||||
ActiveAdmin.routes(self)
|
# ActiveAdmin.routes(self)
|
||||||
|
|
||||||
# namespace :admin do
|
# namespace :admin do
|
||||||
# constraints Rosa::Constraints::AdminAccess do
|
# constraints Rosa::Constraints::AdminAccess do
|
||||||
|
|
Loading…
Reference in New Issue