undefined method `t' for Admin::FaqsController:Class
Use I18n.t
instead of just t
.
I can suggest to extend your class with
extend ActionView::Helpers::TranslationHelper
It will allow you to use #t
and #l
helpers.
Use I18n.t
instead of just t
.
I can suggest to extend your class with
extend ActionView::Helpers::TranslationHelper
It will allow you to use #t
and #l
helpers.