mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-31 13:15:17 +01:00
update gems and fix i18n and aasm deprecation warnings
This commit is contained in:
parent
b1c306b09e
commit
17dca39d3a
10 changed files with 113 additions and 104 deletions
|
|
@ -89,7 +89,7 @@ class Project < ActiveRecord::Base
|
|||
# as a result of acts_as_state_machine calling state=() to update the attribute
|
||||
def transition_to(candidate_state)
|
||||
case candidate_state.to_sym
|
||||
when aasm_current_state
|
||||
when aasm.current_state
|
||||
return
|
||||
when :hidden
|
||||
hide!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue