app/models/page.rb in merrycms-0.1.1 vs app/models/page.rb in merrycms-0.1.2

- old
+ new

@@ -26,12 +26,10 @@ end event :unarchive do transitions :to => :draft, :from => :archived, :on_transition => :unset_archived_at end - end - def available_events Page.state_machines[:default].events_for(self.state.to_sym) end