Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This is a module that has a protected ApplicationController#render_404 function, allowing you to render the Rails 404.html file whenever you please from your controllers.

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Usage

Submodule this into your Rails app In your ApplicationController add the following:

class ApplicationController < ActionController::Base
  ...
  include Render404
end
Something went wrong with that request. Please try again.