Skip to content

Commit

Permalink
Syntax Error fix in apipie_404.html.erb
Browse files Browse the repository at this point in the history
The app wasn't displaying the '/apipie' path due to a syntax error in one of the view.
Added the missing parentheses and fixed ":href = link_to(..)" to ":href => link_to(..).
  • Loading branch information
richardsondx committed May 17, 2014
1 parent bc1e5f3 commit 5fbb12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/apipie/apipies/apipie_404.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<%= t('apipie.resource_not_found_html', :resource => "<code>#{params[:resource]}</code>") %>
<% else %>
<%= t('apipie.method_not_found_html', :resource => "<code>#{params[:resource]}</code>",
:method => "<code>#{params[:resource]}</code>" %>
:method => "<code>#{params[:resource]}</code>") %>
<% end %>
</small>
</h1>

<% if @doc %>
<%= t('apipie.goto_homepage_html', :href = link_to(
<%= t('apipie.goto_homepage_html', :href => link_to(
t('apipie.goto_homepage_href', :app_name => @doc[:name]),
File.join(@doc[:doc_url], @doc[:link_extension]))) %>
<% end %>

0 comments on commit 5fbb12f

Please sign in to comment.