refinerycms-blog + i18n .. URLGeneration error

46 views
Skip to first unread message

cat cosmo

unread,
Sep 7, 2016, 5:00:55 AM9/7/16
to Refinery CMS
hej hej..

im trying to integrate a blog into a site with internationalization (using i18n) and get 

ActionController::UrlGenerationError in Refinery::Blog::Posts#index

No route matches {:action=>"index", :controller=>"refinery/blog/posts", :locale=>:en}   


my default language is :de though, and i think thats also whats passed as a parameter


the error gets thrown in app/views/layouts/application.html.erb

<div id='locale' class="pull-right">
<% ::Refinery::I18n.frontend_locales.each do |locale| %>
<%= link_to_if Globalize.locale.to_s != locale.to_s, locale, {:locale => locale} %>
<% end %>
</div>


i'm new to this so any help greatly appreciated.

thanks!



Reply all
Reply to author
Forward
0 new messages