summaryrefslogtreecommitdiff
path: root/config/application.rb
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-16 10:31:18 +0100
committerspag <spag@golwen.net>2013-01-16 10:31:18 +0100
commit1de09183010a7f021455ce69877b78051d5c4bf1 (patch)
tree736f546009b2d85dcd470e044576442e464b93b1 /config/application.rb
parent473e6c52eff0576829138b59b99f83917ff6b0e9 (diff)
parent8e16b8a24341fd579d97ce47512951a3d14250c1 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/application.rb b/config/application.rb
index d09cf24..776cf81 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -4,7 +4,7 @@ require 'rails/all'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
- Bundler.require *Rails.groups(:assets => %w(development test))
+ Bundler.require(*Rails.groups(:assets => %w(development test)))
# If you want your assets lazily compiled in production, use this line
# Bundler.require(:default, :assets, Rails.env)
end
@@ -21,19 +21,19 @@ module Gemeinschaft42c
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
-
+
# --- rather use Apache + Passenger for SSL -----{
#config.plugins = [ :exception_notification, :ssl_requirement, :all ]
-
+
#config.middleware.insert_before ActionDispatch::Static, "Rack::SSL"
#config.middleware.insert_before ActionDispatch::Static, Rack::SSL, :exclude => proc { |env| env['HTTPS'] != 'on' }
#config.force_ssl = true
-
+
#require 'rack/ssl'
#config.middleware.use Rack::SSL
# -----------------------------------------------}
-
-
+
+
# Activate observers that should always be running.
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
@@ -58,7 +58,7 @@ module Gemeinschaft42c
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
-
+
# Load the PhoneControllers
config.autoload_paths += %W(#{config.root}/lib/phone_controllers)
end