Skip to content

Commit

Permalink
Merge pull request #385 from pil0u/chore/remove-constraint-for-now
Browse files Browse the repository at this point in the history
Temporarily remove constraint until more solid fix is up.
  • Loading branch information
Aquaj authored Dec 1, 2023
2 parents 72a0636 + a89fdc8 commit 87e051b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def omniauth_callbacks(provider)
get "/profile/:uid", to: "users#show", as: :profile
get "/settings", to: "users#edit"
patch "/settings", to: "users#update"
post "/snippets/:snippet_id/reactions", to: "reactions#create", as: :reactions, constraints: AllowedToSeeSolutionsConstraint.new
patch "/reactions/:id", to: "reactions#update", as: :update_reaction, constraints: AllowedToSeeSolutionsConstraint.new
delete "/reactions/:id", to: "reactions#destroy", as: :delete_reaction, constraints: AllowedToSeeSolutionsConstraint.new
post "/snippets/:snippet_id/reactions", to: "reactions#create", as: :reactions
patch "/reactions/:id", to: "reactions#update", as: :update_reaction
delete "/reactions/:id", to: "reactions#destroy", as: :delete_reaction
end

# Admin routes
Expand Down

0 comments on commit 87e051b

Please sign in to comment.