Unnamed
public text v1 · immutableclass FourOhFoursController < ApplicationController
def index
FourOhFour.add_request(request.url,
request.env['HTTP_REFERER'] || '', request.env['HTTP_USER_AGENT'] || '',
request.remote_ip)
respond_to do |format|
format.html { render :file => "#{RAILS_ROOT}/public/404.html" ,
:status => "404 Not Found" }
format.all { render :nothing => true,
:status => "404 Not Found" }
end
end
end