~srushe/ho-tan

eecd9f0eb5812e88b3aa63ccbb2eed1e7a853e37 — Stephen Rushe 1 year, 4 months ago 5b3c9f9 master
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