Fixed error pages

This commit is contained in:
Godwin
2016-05-10 18:43:46 -07:00
parent 67ce1a36a1
commit 13541537cc
4 changed files with 9 additions and 6 deletions
+1 -2
View File
@@ -122,8 +122,7 @@ module ApplicationHelper
@@body_class << (c.is_a?(Array) ? c.join(' ') : c)
end
def page_style#(style)
#classes = ['page-style-' + style.to_s]
def page_style
classes = Array.new
classes << 'has-translations' if ThereAreTranslationsOnThisPage?