Merge branch 'nccu_0509' of github.com:Rulingcom/orbit into nccu_0509
Conflicts: app/views/layouts/_side_bar.html.erb
This commit is contained in:
commit
cd1640482a
3 files changed
+5
-2
No files matched your search
@@ -172,6 +172,10 @@ module ApplicationHelper
|
||||
locale.to_sym == I18n.locale ? 'active in': ''
|
||||
end
|
||||
|
||||
def at_least_module_manager
|
||||
is_manager? || is_admin?
|
||||
end
|
||||
|
||||
def dislpay_view_count(object)
|
||||
"#{t(:view_count)}: #{object.view_count}"
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user