Commit 852945bf38667e42f56b459c2605e948bda0629c
1 parent
22b1f0fd
Exists in
master
and in
21 other branches
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 | <h1>EndPoints</h1> | 1 | <h1>EndPoints</h1> |
2 | 2 | ||
3 | <div style="float: right"> | 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 | </div> | 5 | </div> |
6 | 6 | ||
7 | <%= endpoints.map do |endpoint| | 7 | <%= endpoints.map do |endpoint| |