make changeset instance and start on change page

This commit is contained in:
2022-12-26 17:06:12 +02:00
parent c1288786b6
commit 367c05b086
6 changed files with 65 additions and 48 deletions

View File

@ -25,7 +25,7 @@ module Merged
def new
@section = Section.find(params[:section_id])
new_card = @section.new_card
new_card.save
new_card.save(current_member.email)
redirect_to section_cards_url(@section.id) , notice: "Card created"
end