require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|
  config.time_zone = 'UTC'
  config.gem 'authlogic'
  config.gem 'hoptoad_notifier'

  config.action_mailer.default_url_options ||= {:host => 'localhost:3000'}
  config.action_controller.session = {
    :key => "_mockr_session", :secret => "my cat is yellow"
  }
end

ActionView::Helpers::AssetTagHelper.
    register_javascript_expansion :jquery => [
  'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
  'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js'
]

config.action_controller.asset_host = "http://#{ENV['APP_HOST']}"

require File.join(File.dirname(__FILE__), 'boot')

Rails::Initializer.run do |config|
  config.time_zone = 'UTC'
  config.gem 'authlogic'
  config.gem 'hoptoad_notifier'

  config.action_mailer.default_url_options ||= {:host => 'localhost:3000'}
  config.action_controller.session = {
    :key => "_mockr_session", :secret => "my cat is yellow"
  }
  config.action_controller.asset_host = "http://#{ENV['APP_HOST']}"
end

ActionView::Helpers::AssetTagHelper.
    register_javascript_expansion :jquery => [
  'https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js',
  'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js'
]

Move config declaration to the appropriate place
Move config declaration to the appropriate place
