Remove engagements
We are not using this anymore!
This commit is contained in:
committed by
Jorge Manrubia
parent
e34716a537
commit
6d05ab428e
@@ -1,18 +0,0 @@
|
||||
class Cards::EngagementsController < ApplicationController
|
||||
include CardScoped
|
||||
|
||||
def create
|
||||
case params[:engagement]
|
||||
when "doing"
|
||||
@card.engage
|
||||
when "on_deck"
|
||||
@card.move_to_on_deck
|
||||
end
|
||||
render_card_replacement
|
||||
end
|
||||
|
||||
def destroy
|
||||
@card.reconsider
|
||||
render_card_replacement
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user