This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2009-05-07 16:53:18 +00:00
|
|
|
module ApplicationHelper
|
2011-04-13 10:19:51 +00:00
|
|
|
|
|
|
|
def colorize_in_use_locale(locale)
|
|
|
|
@site_in_use_locales.include?(locale)? 'green' : 'red'
|
|
|
|
end
|
|
|
|
|
|
|
|
def link_back
|
|
|
|
link_to t('back'), session[:last_page]
|
|
|
|
end
|
|
|
|
|
2009-05-07 16:53:18 +00:00
|
|
|
end
|