Skip to content

Commit

Permalink
Show scope names in application views
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed May 13, 2021
1 parent ee41724 commit 520a575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/oauth2_applications/_application.html.erb
Expand Up @@ -10,7 +10,7 @@
<td class="align-middle">
<ul class="list-unstyled mb-0">
<% application.scopes.each do |scope| -%>
<li><%= t "oauth.scopes.#{scope}" %></li>
<li><%= t "oauth.scopes.#{scope}" %> <code class="text-muted">(<%= scope %>)</code></li>
<% end -%>
</ul>
</td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/oauth2_applications/show.html.erb
Expand Up @@ -26,7 +26,7 @@
<td>
<ul class="list-unstyled mb-0">
<% @application.scopes.each do |scope| -%>
<li><%= t "oauth.scopes.#{scope}" %></li>
<li><%= t "oauth.scopes.#{scope}" %> <code class="text-muted">(<%= scope %>)</code></li>
<% end -%>
</ul>
</td>
Expand Down

0 comments on commit 520a575

Please sign in to comment.