fixing saves
This commit is contained in:
@ -45,7 +45,7 @@ module Merged
|
||||
@card.option_definitions.each do |option|
|
||||
@card.set_option(option.name, options[option.name])
|
||||
end if options
|
||||
@card.save
|
||||
@card.save(current_member)
|
||||
redirect_to section_cards_url(@card.section.id) , notice: "Updated #{@card.header}"
|
||||
end
|
||||
|
||||
|
@ -75,7 +75,7 @@ module Merged
|
||||
@section.option_definitions.each do |option|
|
||||
@section.set_option(option.name, options[option.name])
|
||||
end if options
|
||||
@section.save
|
||||
@section.save(current_member.email)
|
||||
redirect_to :section , notice: "Update ok"
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user