Customized more doorkeeper views, only logged in users can create oauth apps
This commit is contained in:
parent
aab9f57e36
commit
1aa477ac2f
16 changed files with 234 additions and 102 deletions
16
app/views/doorkeeper/authorized_applications/index.html.haml
Normal file
16
app/views/doorkeeper/authorized_applications/index.html.haml
Normal file
|
@ -0,0 +1,16 @@
|
|||
- content_for :page_title do
|
||||
Authorized apps
|
||||
|
||||
%p
|
||||
You can register a new OAuth2 app
|
||||
= link_to 'here', oauth_applications_path
|
||||
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th= t('doorkeeper.authorized_applications.index.application')
|
||||
%th
|
||||
- @applications.each do |application|
|
||||
%tr
|
||||
%td= application.name
|
||||
%td= render 'delete_form', application: application
|
Reference in a new issue