Module: ActsAsArchived::RoutesConcern

Defined in:
app/models/concerns/acts_as_archived.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_archivedObject



61
62
63
64
65
66
# File 'app/models/concerns/acts_as_archived.rb', line 61

def acts_as_archived
  concern :acts_as_archived do
    post :archive, on: :member
    post :unarchive, on: :member
  end
end