Missing template caused by locale?

I am using a default_locale in my app
config.i18n.default_locale = :fr

When setting up the administration part, I don’t need to have a
foreign locale, default :en would be fine
is this error message caused by non setting the default.locale
to :en ?
as it’s stated : :locale=>[:fr, :fr]} by default …

ActionView::MissingTemplate (Missing template admin/categories/colors,
admin/base/colors, application/colors with
{:handlers=>[:erb, :builder, :coffee, :haml], :formats=>[:js, :html],
:locale=>[:fr, :fr]}.
Searched in:

  • “/Users/yves/Developpement/Projects/isabelle/atelier/app/views”
  • “/Users/yves/.rvm/gems/[email protected]/gems/devise-1.4.8/
    app/views”

[SOLVED] nothing related to locale … existing template was admin/
categories/color.js.erb should be admin/categories/colors.js.erb !

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs