##// 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:

r2816:35333367dff6
r4072:83e0be5d07de
Show More
time_entry_activity.rb
10 lines | 236 B | text/x-ruby | RubyLexer
/ test / exemplars / time_entry_activity.rb
class TimeEntryActivity < Enumeration
generator_for :name, :method => :next_name
generator_for :type => 'TimeEntryActivity'
def self.next_name
@last_name ||= 'TimeEntryActivity0'
@last_name.succ!
@last_name
end
end