forked from fixin.me/fixin.me
Add Quantities tab
This commit is contained in:
@@ -125,8 +125,9 @@ module ApplicationHelper
|
||||
|
||||
def navigation_menu
|
||||
menu_tabs = [
|
||||
['units', "weight-kilogram", :restricted, 'right'],
|
||||
['users', "account-multiple-outline", :admin],
|
||||
['quantities', 'axis-arrow', :restricted, 'right'],
|
||||
['units', 'weight-gram', :restricted],
|
||||
['users', 'account-multiple-outline', :admin],
|
||||
]
|
||||
|
||||
menu_tabs.map do |name, image, status, css_class|
|
||||
|
||||
2
app/helpers/quantities_helper.rb
Normal file
2
app/helpers/quantities_helper.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
module QuantitiesHelper
|
||||
end
|
||||
2
app/helpers/units_helper.rb
Normal file
2
app/helpers/units_helper.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
module UnitsHelper
|
||||
end
|
||||
Reference in New Issue
Block a user