diff --git a/app/controllers/templates_controller.rb b/app/controllers/templates_controller.rb index 65626b3..c629d2b 100644 --- a/app/controllers/templates_controller.rb +++ b/app/controllers/templates_controller.rb @@ -201,7 +201,7 @@ break random unless Template.exists?(dmptemplate_id: random) end - if @template.save! + if @template.save redirect_to admin_template_template_path(@template), notice: _('Information was successfully created.') else render action: "admin_new"