app/views/oauth/docs/index.html.erb in opro-0.0.1 vs app/views/oauth/docs/index.html.erb in opro-0.0.2
- old
+ new
@@ -7,8 +7,16 @@
<ul>
<li><%= link_to 'Quick Start', oauth_doc_path(:quick_start) %></li>
<li><%= link_to 'Curl', oauth_doc_path(:curl) %></li>
<li><%= link_to 'Oauth', oauth_doc_path(:oauth) %></li>
+ <% if ::Opro.request_permissions.present? %>
+ <li><%= link_to 'Permisions', oauth_doc_path(:permissions) %></li>
+ <% end %>
+ <% if ::Opro.require_refresh_within.blank? %>
+ <li><%= link_to 'Refresh Tokens', oauth_doc_path(:refresh_tokens) %></li>
+ <% end %>
+
+
</ul>
<%= render_doc(:quick_start) %>
\ No newline at end of file