mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
remove spaces inside {} of app/models/changeset.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20410 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
745e4152f8
commit
f34777ff57
@ -43,7 +43,7 @@ class Changeset < ActiveRecord::Base
|
||||
|
||||
acts_as_activity_provider :timestamp => "#{table_name}.committed_on",
|
||||
:author_key => :user_id,
|
||||
:scope => proc { preload(:user, {:repository => :project}) }
|
||||
:scope => proc {preload(:user, {:repository => :project})}
|
||||
|
||||
validates_presence_of :repository_id, :revision, :committed_on, :commit_date
|
||||
validates_uniqueness_of :revision, :scope => :repository_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user