added lib to the load path
This commit is contained in:
parent
02bed37d17
commit
1ae0d8b29f
|
@ -9,7 +9,8 @@ Bundler.require(:default, Rails.env) if defined?(Bundler)
|
||||||
module Rosa
|
module Rosa
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
|
|
||||||
config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
|
config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
|
||||||
|
config.autoload_paths += %W(#{config.root}/lib)
|
||||||
|
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration should go into files in config/initializers
|
# Application configuration should go into files in config/initializers
|
||||||
|
@ -33,7 +34,7 @@ config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
|
||||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||||
# config.i18n.default_locale = :de
|
# config.i18n.default_locale = :de
|
||||||
|
|
||||||
config.action_view.javascript_expansions[:defaults] = %w()
|
config.action_view.javascript_expansions[:defaults] = %w()
|
||||||
|
|
||||||
# Configure the default encoding used in templates for Ruby 1.9.
|
# Configure the default encoding used in templates for Ruby 1.9.
|
||||||
config.encoding = "utf-8"
|
config.encoding = "utf-8"
|
||||||
|
|
Loading…
Reference in New Issue