Revision 391:fecd4b2f4b77 vendor/plugins/redmine_bibliography/app/models

View differences:

vendor/plugins/redmine_bibliography/app/models/publication.rb
17 17
  end
18 18
  
19 19
  def next_step
20
    self.current_step = step[steps.index(current_step)+1]
20
    self.current_step = steps[steps.index(current_step)+1]
21 21
  end
22 22

  
23 23
  def previous_step
24
    self.current_step = step[steps.index(current_step)-1]
24
    self.current_step = steps[steps.index(current_step)-1]
25 25
  end
26 26
  
27 27
  def first_step?

Also available in: Unified diff