Skip to content

Business intelligence made simple

Do not inherit default_url_options from ApplicationController - fixes #120

Andrew Kaned98bb8cc71c7
diff --git a/app/controllers/blazer/base_controller.rb b/app/controllers/blazer/base_controller.rb
index 66147066..858570b7 100644
--- a/app/controllers/blazer/base_controller.rb
+++ b/app/controllers/blazer/base_controller.rb
@@ -101,5 +101,10 @@ module Blazer
action = resource.persisted? ? :edit : :new
render action, status: :unprocessable_entity
end
+
+ # do not inherit from ApplicationController - #120
+ def default_url_options
+ {}
+ end
end
end