Small tweak to checking url
1 files changed, 1 insertions(+), 1 deletions(-) M lib/ho_tan/application.rb
M lib/ho_tan/application.rb => lib/ho_tan/application.rb +1 -1
@@ 124,7 124,7 @@ module HoTan end def render_source - if params.fetch(:url, '').strip.empty? + if params.dig(:url).to_s.strip.empty? send_error(description: "'url' must be provided to retrieve 'source'") end