##// END OF EJS Templates
Fixes reverting an issue to a status with a done_ratio of 0%. #5170...
Fixes reverting an issue to a status with a done_ratio of 0%. #5170 Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4186 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3226:9044305b9335
r4072:83e0be5d07de
Show More
repository_exemplar.rb
11 lines | 222 B | text/x-ruby | RubyLexer
/ test / exemplars / repository_exemplar.rb
class Repository < ActiveRecord::Base
generator_for :type => 'Subversion'
generator_for :url, :method => :next_url
def self.next_url
@last_url ||= 'file:///test/svn'
@last_url.succ!
@last_url
end
end