How to change deploy path in my Ruby on Rails project? #3473
Unanswered
reinoutkoninkx
asked this question in
Q&A
Replies: 1 comment 6 replies
-
None of us have ever used rails, this might not be the best place to ask, since we've no idea what the concept of a view in rails is, for example. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I have a ruby on rails project in which I want to integrate a draw.io interface, in here I want users to be able to draw stuff and save it etc.
I downloaded the draw.war file of version 21.1.
I put the extracted files in my public folder, now if I run the rails server, the drawio drawer shows on the homepage ("/").
What I want to happen is to show it only on a dedicated view in my views folder, so I can use controller functionalities to add my own variables and such.
If I move the files from the public folder into a new folder called drawio which is inside the public folder, nothing shows up at all.
To summarize, I want the drawer to only show in my dedicated page which is a view inside the views folder, but still be able to use all the drawio functionalities.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions