diff --git a/app/controllers/gemfiles_controller.rb b/app/controllers/gemfiles_controller.rb index b115610..a92aa14 100644 --- a/app/controllers/gemfiles_controller.rb +++ b/app/controllers/gemfiles_controller.rb @@ -40,8 +40,6 @@ def update @gemfile.parse_content if @gemfile.update(gemfile_params) - @gemfile.save - redirect_to gemfile_url(@gemfile), notice: "Gemfile was successfully updated." else render :edit, status: :unprocessable_entity