Better user specs for joining tables

This commit is contained in:
2013-12-09 10:01:06 +01:00
parent afb30556bd
commit 087cfa639d
15 changed files with 159 additions and 16 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ private
end
def set_locale
I18n.locale = (params[:locale].presence || Rails.configuration.i18n.default_locale).to_sym
I18n.locale = (params[:locale].presence || I18n.default_locale).to_sym
end
def layout_by_resource