[refs #96] fixed commit subscribing

This commit is contained in:
Alexander Machehin 2012-02-15 19:07:56 +06:00
parent da0d791f74
commit eaa6a46a43
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,6 @@ class CommitSubscribesController < ApplicationController
def find_commit
@commit = @project.git_repository.commit(params[:commit_id])
@options = {:project_id => @project.id, :subscribeable_id => @commit.id, :subscribeable_type => @commit.class.name, :user_id => current_user.id}
@options = {:project_id => @project.id, :subscribeable_id => @commit.id.hex, :subscribeable_type => @commit.class.name, :user_id => current_user.id}
end
end