Sha256: e0383df9f10d27687080efff006cdbbe970039caf690590dc781caf31271e704
Contents?: true
Size: 1.27 KB
Versions: 32
Compression:
Stored size: 1.27 KB
Contents
.flash= flash[:notice] %h1 OAuth Client Applications - unless @tokens.empty? %p The following tokens have been issued to applications in your name %table %tr %th Application %th Issued %th - @tokens.each do |token| - content_tag_for :tr, token do %td= link_to token.client_application.name, token.client_application.url %td= token.authorized_at %td - form_tag :controller => 'oauth', :action => 'revoke' do = hidden_field_tag 'token', token.token = submit_tag "Revoke!" %h3 Application Developers - if @client_applications.empty? %p Do you have an application you would like to register for use with us using the <a href="http://oauth.net">OAuth</a> standard? You must register your web application before it can make OAuth requests to this service - else %p You have the following client applications registered: - @client_applications.each do |client| - div_for client do = link_to client.name, :action => :show, :id => client.id = link_to 'Edit', edit_oauth_client_path(client) = link_to 'Delete', oauth_client_path(client), :confirm => "Are you sure?", :method => :delete %br %h3 = link_to "Register your application", :action => :new
Version data entries
32 entries across 32 versions & 5 rubygems