Created
May 14, 2023 18:30
-
-
Save casperbrike/a5e61cbea30d7faddf1b473539888da7 to your computer and use it in GitHub Desktop.
Get Rails controller and action from route path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.routes.recognize_path '/meeting_packs/1/view' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment