Skip to content

Commit

Permalink
Merge pull request #20 from markets/patch-1
Browse files Browse the repository at this point in the history
delete duplicate save in GemfilesController#update
  • Loading branch information
Shpigford authored Feb 12, 2024
2 parents f76e031 + ec69768 commit 3e6de06
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/gemfiles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e6de06

Please # to comment.