Updated to rails 3.0.12. remove old gettext code.
This commit is contained in:
parent
5636e200dc
commit
ad508b207b
16 changed files with 235 additions and 192 deletions
|
|
@ -1,26 +0,0 @@
|
|||
# Remove this file, when every gettext-method <_("text to translate..")>
|
||||
# is replaced by rails L18n method: L18n.name.name...
|
||||
|
||||
module ActionView
|
||||
class Base
|
||||
def _(text)
|
||||
text
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module ActiveRecord
|
||||
class Base
|
||||
def _(text)
|
||||
text
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module ActionController
|
||||
class Base
|
||||
def _(text)
|
||||
text
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
@ -4,5 +4,5 @@ Foodsoft::Application.config.session_store :cookie_store, :key => '_foodsoft_ses
|
|||
|
||||
# Use the database for sessions instead of the cookie-based default,
|
||||
# which shouldn't be used to store highly confidential information
|
||||
# (create the session table with "rake db:sessions:create")
|
||||
# FianGroups::Application.config.session_store :active_record_store
|
||||
# (create the session table with "rails generate session_migration")
|
||||
# Foodsoft::Application.config.session_store :active_record_store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue