Permalink
Browse files

Updated the Rails Guilded initializer template to use Rails.root.

  • Loading branch information...
1 parent 15cdc9b commit 63c629e4c7401120a1683ff689d68377452ddaf2 @midas committed Apr 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 rails_generators/guilded_config/templates/load_guilded_settings.rb
@@ -2,11 +2,11 @@
# on this one in order to work in different environments.
#
GUILDED_CONFIG = {
- :js_path => "#{RAILS_ROOT}/public/javascripts/",
+ :js_path => "#{Rails.root}/public/javascripts/",
:js_folder => "", # from the js_path
:jquery_js => "jquery/jquery-1.3.2.min.js", # from the js_path
:mootools_js => "mootools/mootools-1.2.3.min.js", # from the js_path
- :css_path => "#{RAILS_ROOT}/public/stylesheets/",
+ :css_path => "#{Rails.root}/public/stylesheets/",
:css_folder => "guilded/", # from the css_path
:reset_css => "reset-min.css", # from the css_path
:environment => Rails.env

0 comments on commit 63c629e

Please sign in to comment.