Skip to content

Commit

Permalink
fix script_url_for url bug
Browse files Browse the repository at this point in the history
  • Loading branch information
howiehu committed May 23, 2014
1 parent dca0c75 commit 24fdbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gist_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def html_output_for(script_url, code)
end

def script_url_for(gist_id, filename)
url = "https://gist.githubusercontent.com/#{gist_id}.js"
url = "https://gist.github.com/#{gist_id}.js"
url = "#{url}?file=#{filename}" unless filename.nil? or filename.empty?
url
end
Expand Down

0 comments on commit 24fdbbb

Please sign in to comment.