Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Privacy
Imprint
Contact
Login methods
Sign in
Toggle navigation
Menu
Open sidebar
projects.thm.de
GitLab
Commits
0cb5e547
Commit
0cb5e547
authored
Apr 14, 2015
by
Daniel Gerhardt
Browse files
Disable Oauth application settings for end users
parent
2ec5db6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/views/layouts/nav/_profile.html.haml
View file @
0cb5e547
...
...
@@ -12,11 +12,6 @@
=
link_to
profile_account_path
,
title:
'Account'
do
%span
Account
-
if
current_application_settings
.
user_oauth_applications?
=
nav_link
(
controller:
'oauth/applications'
)
do
=
link_to
applications_profile_path
,
title:
'Applications'
do
%span
Applications
=
nav_link
(
controller: :chat_names
)
do
=
link_to
profile_chat_names_path
,
title:
'Chat'
do
%span
...
...
config/routes.rb
View file @
0cb5e547
...
...
@@ -16,11 +16,6 @@
draw
:development
draw
:ci
use_doorkeeper
do
controllers
applications:
'oauth/applications'
,
authorized_applications:
'oauth/authorized_applications'
,
authorizations:
'oauth/authorizations'
end
# Autocomplete
get
'/autocomplete/users'
=>
'autocomplete#users'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment