소스 검색

Do not inherit default_url_options from ApplicationController - fixes #120

Andrew Kane 8 년 전
부모
커밋
d98bb8cc71
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      app/controllers/blazer/base_controller.rb

+ 5 - 0
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