diff --git a/lib/fat_model_auth/controller_helpers.rb b/lib/fat_model_auth/controller_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/fat_model_auth/controller_helpers.rb
+++ b/lib/fat_model_auth/controller_helpers.rb
@@ -40,7 +40,7 @@ module FatModelAuth
 
     def respond_with_404_page
       if defined?(Rails)
-        render "#{Rails.root}/public/404.html", status: 404, layout: false
+        render file: "#{Rails.root}/public/404.html", status: 404, layout: false
       else
         render nothing: true, status: 404, layout: false
       end
Replace `render "public/<I>.html"` with `render file: "public/<I>.html"`

This change is backward-compatible, so it shouldn't break existing any
existing app.

Previously, calling render "foo/bar" in a controller action was
equivalent to render file: "foo/bar". In Rails <I>, this has been
changed to mean render template: "foo/bar" instead.

See <URL>