Customized more doorkeeper views, only logged in users can create oauth apps
This commit is contained in:
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 New Issue
Block a user