lib/mathjax/rails/controllers.rb in mathjax-rails-3-3.2.2.1 vs lib/mathjax/rails/controllers.rb in mathjax-rails-3-3.2.2.2
- old
+ new
@@ -12,10 +12,10 @@
options[:disposition] = 'inline'
file = File.expand_path(filepath, __FILE__)
if File.exists?(file)
send_file file, options
else
- render :status => 404
+ raise ActionController::RoutingError.new('')
end
end
def verify_authenticity_token
end