|
@@ -101,5 +101,10 @@ module Blazer
|
|
action = resource.persisted? ? :edit : :new
|
|
action = resource.persisted? ? :edit : :new
|
|
render action, status: :unprocessable_entity
|
|
render action, status: :unprocessable_entity
|
|
end
|
|
end
|
|
|
|
+
|
|
|
|
+ # do not inherit from ApplicationController - #120
|
|
|
|
+ def default_url_options
|
|
|
|
+ {}
|
|
|
|
+ end
|
|
end
|
|
end
|
|
end
|
|
end
|