Clean up code , cache other auths. Fix sidebar

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-05-23 13:00:51 +08:00
1 parent 3e60b34491
commit 20eb8b4d15
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