lib/sugar/actionview.rb in krasivotokak-sugar-0.0.19 vs lib/sugar/actionview.rb in krasivotokak-sugar-0.0.20

- old
+ new

@@ -13,12 +13,12 @@ def default_page_title case action_name when 'index' controller_name.camelize when 'new', 'create' - t("#{t('new')} #{controller_name.classify.human_name}") + t("#{t('new')} #{controller_name.classify.constantize.human_name}") when 'edit', 'update' - t("#{t('editing')} #{controller_name.classify.human_name}") + t("#{t('editing')} #{controller_name.classify.constantize.human_name}") else t("#{controller_name}.#{view_name}.title") end end