Rename config tab roles to security
This commit is contained in:
parent
4c567fece1
commit
f221a081dd
5 changed files with 15 additions and 15 deletions
|
|
@ -30,7 +30,7 @@ class Admin::ConfigsController < Admin::BaseController
|
|||
|
||||
# Set configuration tab names as `@tabs`
|
||||
def get_tabs
|
||||
@tabs = %w(foodcoop payment tasks messages layout language roles others)
|
||||
@tabs = %w(foodcoop payment tasks messages layout language security others)
|
||||
# allow engines to modify this list
|
||||
engines = Rails::Engine.subclasses.map(&:instance).select { |e| e.respond_to?(:configuration) }
|
||||
engines.each { |e| e.configuration(@tabs, self) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue