Replies: 2 comments 5 replies
-
Rodauth routes that make changes all use POST. Routes that do not make changes (e.g. display a form) use GET. You can call Since it looks like you are using rodauth-rails, I would ask this question in a rodauth-rails forum, since I think they do something to add Rodauth routes to the Rails application. |
Beta Was this translation helpful? Give feedback.
-
Due to Roda's dynamic routing, we cannot obtain the HTTP verbs of endpoints statically, so for the |
Beta Was this translation helpful? Give feedback.
-
I have the following extracted as a string in ruby:
I want to be able to get, using the above, the HTTP verb for a particular route, as well as any params required for the route. Is there any way this can be done?
# a random example GET verify_account_path /verify-account-path/:params_1/:params_2
(Unfortunately, i'm not intimately familiar with the rodauth library (or even the rodauth-rails library) but I want to amend the existing rake task in the latter library to show the aforementioned information. Perhaps it may take two minutes for a knowledgeable person to point me in the right direction? I will do the rest.
Thank you for you patience and contributions to this library.
Beta Was this translation helpful? Give feedback.
All reactions