summaryrefslogtreecommitdiff
path: root/lib/report.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/report.rb')
-rw-r--r--lib/report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/report.rb b/lib/report.rb
index 9dff2f2..ae2526c 100644
--- a/lib/report.rb
+++ b/lib/report.rb
@@ -25,7 +25,7 @@ end
get "/report/:id/?" do
model = Model::Lazar.find params[:id]
- resource_not_found_error "Model with id: #{params[:id]} not found." unless model
+ not_found_error "Model with id: #{params[:id]} not found." unless model
prediction_model = Model::Validation.find_by :model_id => params[:id]
validation_template = File.join(File.dirname(__FILE__),"../views/model_details.haml")