Clean up code , cache other auths. Fix sidebar

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-05-29 15:23:50 +08:00
1 parent ff620b41aa
commit 4f484599b7
17 files changed
+31 -107

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
module ApplicationHelper
FLASH_NOTICE_KEYS = [:error, :notice, :warning]
def colorize_in_use_locale(locale)
@site_in_use_locales.include?(locale)? 'green' : 'red'
end