Skip to content

Commit

Permalink
Add handling mechanism for attachment errors (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu authored Apr 17, 2023
1 parent f837e2b commit b607c70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/decidim/slider/admin/tabs_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def update
redirect_to edit_resource_landing_page_path
end
on(:invalid) do
edit # Sets the model to the view so that it can render the form
render "edit"
end
end
Expand Down

0 comments on commit b607c70

Please sign in to comment.