From 5fbb12f5dbd167be40dfdb6de1fbc2d7d55b4d29 Mon Sep 17 00:00:00 2001 From: evenix Date: Sat, 17 May 2014 14:11:31 -0400 Subject: [PATCH] Syntax Error fix in apipie_404.html.erb 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(..). --- app/views/apipie/apipies/apipie_404.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/apipie/apipies/apipie_404.html.erb b/app/views/apipie/apipies/apipie_404.html.erb index 0745ba873..82741b5f0 100644 --- a/app/views/apipie/apipies/apipie_404.html.erb +++ b/app/views/apipie/apipies/apipie_404.html.erb @@ -5,13 +5,13 @@ <%= t('apipie.resource_not_found_html', :resource => "#{params[:resource]}") %> <% else %> <%= t('apipie.method_not_found_html', :resource => "#{params[:resource]}", - :method => "#{params[:resource]}" %> + :method => "#{params[:resource]}") %> <% end %> <% 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 %>