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.
11 lines
242 B
Ruby
11 lines
242 B
Ruby
13 years ago
|
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
|