Commit 852945bf38667e42f56b459c2605e948bda0629c

Authored by Rodrigo Souto
1 parent 22b1f0fd

api-playground: build link through hash route

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/api/index.html.erb
1 1 <h1>EndPoints</h1>
2 2  
3 3 <div style="float: right">
4   -<%= s_('api-playground|Try the %s') % link_to('API Playground', '/api/playground') %>
  4 + <%= s_('api-playground|Try the %s') % link_to('API Playground', {:controller => 'api', :action => 'playground'}) %>
5 5 </div>
6 6  
7 7 <%= endpoints.map do |endpoint|
... ...