You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class ExceptionsController < ApplicationController
|
|
|
|
def not_found
|
|
respond_to do |format|
|
|
format.any { render :text => 'Requested resource not found', :status => 404 }
|
|
format.html { render :status => 404 }
|
|
end
|
|
end
|
|
|
|
end
|