Skip to content

Commit

Permalink
fix relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Jun 29, 2009
1 parent 0654114 commit 08debe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contest.rb
Expand Up @@ -51,7 +51,7 @@ class Score

# individual project data
get '/p/:user/:repo' do
@entry = ContestEntry.first({:name => @repo, :owner => @user})
@entry = ContestEntry.first({:name => params[:repo], :owner => params[:user]})
if @entry
erb :project
else
Expand Down

0 comments on commit 08debe1

Please sign in to comment.