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 17:17:26 +08:00
1 parent 4d288fb9d1
commit 11247ce84c
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