From a488b05726b2e93b5f66e93ef700a6bc32a3a029 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 3 Oct 2016 16:52:45 +0200 Subject: Cleaning up unused views --- app/views/doorkeeper/applications/show.html.haml | 35 ------------------------ 1 file changed, 35 deletions(-) delete mode 100644 app/views/doorkeeper/applications/show.html.haml (limited to 'app/views/doorkeeper/applications/show.html.haml') diff --git a/app/views/doorkeeper/applications/show.html.haml b/app/views/doorkeeper/applications/show.html.haml deleted file mode 100644 index cc7f4be88..000000000 --- a/app/views/doorkeeper/applications/show.html.haml +++ /dev/null @@ -1,35 +0,0 @@ -- content_for :page_title do - = @application.name - -.row - .panel - .panel-heading General - .panel-row - %dt Name - %dd= @application.name - .panel-row - %dt Scopes: - %dd= @application.scopes - -.panel.panel-full - .panel-heading Details - .panel-row - %dt Client ID: - %dd - %samp= @application.uid - .panel-row - %dt Secret: - %dd - %samp= @application.secret - -.panel.panel-full - .panel-heading Callback URLs - - @application.redirect_uri.split.each do |uri| - .panel-row.panel-row-wider - %dt - %samp= uri - %dd= link_to 'Authorize', oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'code') - -.page-actions - = link_to fa_icon('edit'), edit_oauth_application_path(@application), class: 'btn btn-iconized' - = link_to fa_icon('trash'), oauth_application_path(@application), method: :delete, class: 'btn btn-iconized', data: { confirm: 'Are you sure?' } -- cgit