summaryrefslogtreecommitdiff
path: root/lib/dashing/app.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dashing/app.rb')
-rw-r--r--lib/dashing/app.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dashing/app.rb b/lib/dashing/app.rb
index b11352d..0ff3085 100644
--- a/lib/dashing/app.rb
+++ b/lib/dashing/app.rb
@@ -121,6 +121,7 @@ get '/views/:widget?.html' do
file = File.join(settings.root, "widgets", params[:widget], "#{params[:widget]}.#{suffix}")
return engines.first.new(file).render if File.exist? file
end
+ "Drats! Unable to find a widget file named: #{params[:widget]} to render."
end
Thin::Server.class_eval do