Skip to content

link_to resource_path #3392

Closed Answered by Paul-Bob
sageworksstudio asked this question in Help
Discussion options

You must be logged in to vote

Hey @sageworksstudio

Because you're in a Rails engine, you must prepend the avo engine object to the path

Instead of writing resources_client_orders_path you have to write avo.resources_client_orders_path.

Use main_app.some_path when you want to reference paths from your main app

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Paul-Bob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants