Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt
This commit is contained in:
@@ -68,7 +68,7 @@ class ActionController::Base
|
|||||||
|
|
||||||
# Regular database.yml configuration hash
|
# Regular database.yml configuration hash
|
||||||
def default_connection
|
def default_connection
|
||||||
@default_config ||= ActiveRecord::Base.connection.instance_variable_get("@config").dup
|
@default_config ||= ActiveRecord::Base.connection_config
|
||||||
end
|
end
|
||||||
|
|
||||||
#change locallization
|
#change locallization
|
||||||
|
|||||||
Reference in New Issue
Block a user