You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
I'm trying to deploy fulcrum using passenger 3.0.19 with apache and setting a prefix url of /fulcrum
All is well after I set: config/application.rb: config.assets.initialize_on_precompile = true
and precompiled the assets with: RAILS_RELATIVE_URL_ROOT="/fulcrum" bundle exec rake assets:precompile
I also had to make this change:
diff --git a/app/assets/javascripts/models/project.js b/app/assets/javascripts/models/project.js
index c1ac6f7..7f58d51 100644
--- a/app/assets/javascripts/models/project.js
+++ b/app/assets/javascripts/models/project.js
@@ -27,7 +27,7 @@ Fulcrum.Project = Backbone.Model.extend({
},
url: function() {
- return '/projects/' + this.id;
+ return '/fulcrum/projects/' + this.id;
},
// The ids of the columns, in the order that they appear by story weight
I'm not sure the best way to solve this without hard-coding like in the above.
The text was updated successfully, but these errors were encountered:
I'm trying to deploy fulcrum using passenger 3.0.19 with apache and setting a prefix url of /fulcrum
All is well after I set:
config/application.rb: config.assets.initialize_on_precompile = true
and precompiled the assets with:
RAILS_RELATIVE_URL_ROOT="/fulcrum" bundle exec rake assets:precompile
I also had to make this change:
I'm not sure the best way to solve this without hard-coding like in the above.
The text was updated successfully, but these errors were encountered: