fix typo
This commit is contained in:
@@ -20,8 +20,8 @@ protected
|
|||||||
render :template => "static/error", :status => 500
|
render :template => "static/error", :status => 500
|
||||||
elsif exception.is_a?(::ActiveRecord::RecordNotFound)
|
elsif exception.is_a?(::ActiveRecord::RecordNotFound)
|
||||||
@exception = nil
|
@exception = nil
|
||||||
@error_message = "That record was not found", :status => 404
|
@error_message = "That record was not found"
|
||||||
render :template => "static/error", :status => 500
|
render :template => "static/error", :status => 404
|
||||||
else
|
else
|
||||||
render :template => "static/error", :status => 500
|
render :template => "static/error", :status => 500
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user