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.
orbit-4-1/app/helpers/application_helper.rb

12 lines
204 B
Ruby
Raw Normal View History

2009-05-07 16:53:18 +00:00
module ApplicationHelper
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