0
0
Fork 0

Customized more doorkeeper views, only logged in users can create oauth apps

This commit is contained in:
Eugen Rochko 2016-03-12 19:46:06 +01:00
parent aab9f57e36
commit 1aa477ac2f
16 changed files with 234 additions and 102 deletions

View file

@ -11,4 +11,8 @@ module ApplicationHelper
def local_id?(id)
id.start_with?("tag:#{Rails.configuration.x.local_domain}")
end
def active_nav_class(path)
current_page?(path) ? 'active' : ''
end
end