Skip to content

Commit

Permalink
don't prettify urls after voting has started
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerad Suyderhoud committed Nov 14, 2012
1 parent 4897038 commit 2f9bbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/deploy.coffee
Expand Up @@ -60,7 +60,7 @@ DeploySchema.post 'save', ->
team.entry.url = @urlForTeam team unless team.entry.votable
team.save (err) ->
throw err if err
team.prettifyURL()
team.prettifyURL() unless team.entry.votable
#team.updateScreenshot() disable screenshot update after coding

Deploy = mongoose.model 'Deploy', DeploySchema
Expand Down

1 comment on commit 2f9bbde

@visnup
Copy link

@visnup visnup commented on 2f9bbde Nov 14, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't think this would affect it because it's just following what's in this.entry.url (which doesn't change in theory).

Please sign in to comment.