Remove unnecessary code from conference_controller
Remove unnecessary code from conference_controller#update.
This commit is contained in:
parent
c48c8afa51
commit
7f843a3a13
1 changed files with 0 additions and 1 deletions
|
|
@ -79,7 +79,6 @@ module Admin
|
|||
end
|
||||
|
||||
def update
|
||||
@conference = Conference.find_by(short_title: params[:id])
|
||||
short_title = @conference.short_title
|
||||
@conference.assign_attributes(conference_params)
|
||||
send_mail_on_conf_update = @conference.notify_on_dates_changed?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue