Revision c45a0014
Added by Ohad Levy over 12 years ago
- ID c45a0014cee4b8a530ab25beb9a7b1eb5cd7b037
app/controllers/application_controller.rb | ||
---|---|---|
render :text => 'Invalid query', :status => 400 and return
|
||
end
|
||
|
||
def not_found
|
||
def not_found(exception = nil)
|
||
logger.debug "not found: #{exception}" if exception
|
||
respond_to do |format|
|
||
format.html { render "common/404", :status => 404 }
|
||
format.json { head :status => 404}
|
Also available in: Unified diff
fixes #1167 - some setting values are ignored