view config/initializers/30-redmine.rb @ 743:7ded87cc4b80 bug_320

Bug #320: Offer login page instead of 404 for nonexistent project when user not logged in -- hiding the difference between existing private project and nonexistent one
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 08 Nov 2011 14:19:49 +0000
parents 8661b858af72
children 433d4f72a19b
line wrap: on
line source
I18n.default_locale = 'en'
# Adds fallback to default locale for untranslated strings
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)

require 'redmine'