Skip to content

Commit

Permalink
fix type error on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskite committed Aug 27, 2013
1 parent dd131a6 commit ef7991e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/pull_request.rb
Expand Up @@ -150,7 +150,7 @@ def build_path
def website def website
if !!repo.nginx_template && repo.should_provision_nginx if !!repo.nginx_template && repo.should_provision_nginx
match = repo.nginx_template.match(/server_name (.*);/) match = repo.nginx_template.match(/server_name (.*);/)
return !!match[1] ? match[1].gsub('{{number}}', number) : nil return !!match[1] ? match[1].gsub('{{number}}', number.to_s) : nil
end end
nil nil
end end
Expand Down

0 comments on commit ef7991e

Please sign in to comment.