MissingActionError should show relative path instead of absolute path for suggested action #1438
Open
Description
Right now it's returning a message like this:
Hanami::Routes::MissingActionError:
Could not find action with key "actions.home.show" in GsgApp::App
To fix this, define the action class GsgApp::Actions::Home::Show in /Users/tim/Source/scratch/gsg_app/actions/home/show.rb
That file path is long and unnecessary. It should be relative from the app's root:
To fix this, define the action class GsgApp::Actions::Home::Show in actions/home/show.rb
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Maybe