Skip to content

Commit

Permalink
Merge pull request #13854 from danidoni/fix-token-service-description…
Browse files Browse the repository at this point in the history
…-too-large-errors

Fix form path when dealing with service tokens
  • Loading branch information
Dany Marcoux committed Feb 27, 2023
2 parents f300071 + 7486e59 commit b11c4a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/app/views/webui/users/tokens/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

.row
.col-12.col-md-10.col-lg-8
= form_with(model: @token ||= Token.new, method: :post, local: true) do |f|
- url = @token.new_record? ? tokens_path : token_path(@token)
= form_with(model: @token, url: url, method: :post, local: true) do |f|
.row
.col
.mb-3
Expand Down

0 comments on commit b11c4a1

Please sign in to comment.