I don't know if you'll be interested in these patches upstream, but since I
needed them I thought I'd give it a shot. (I run most of my Django and Rails
apps at non-root URLs, since they're mostly behind SSL and IPs/certificates
for new domain names are not free.)
I *believe* these patches fix all the breakage when Dashboard is run with a
RAILS_RELATIVE_URL_ROOT, and I've tested these patches at root and non-root
URLs. But someone more familiar with the app's total functionality should
check my work. (For one thing, I couldn't tell where, if anywhere, the node.js
autocompletion code is used.)
These patches can also be pulled from:
git://github.com/icomfort/puppet-dashboard.git relative-url-root
--
Ian Ward Comfort <[email protected]>
Systems Team Lead, Academic Computing Services, Stanford University
app/views/layouts/application.html.haml | 2 ++
public/javascripts/application.js | 4 ++--
public/javascripts/node.js | 8 ++++----
public/stylesheets/application.css | 2 +-
public/stylesheets/fcbkcomplete.css | 2 +-
5 files changed, 10 insertions(+), 8 deletions(-)
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.