public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Search Repo:
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
move RAILS_PATH settiing to aaa/init.rb temporarily
technoweenie (author)
Sat Feb 02 15:43:09 -0800 2008
commit  005ff943d9469b781cc88296d6ffa5acf8193ad7
tree    4aec05ae385c3d5211ebd8a09882f63b8af81bb2
parent  86d5a4d33d898d3e4e1532af853587a7c4616147
...
2
3
4
 
...
2
3
4
5
0
@@ -2,4 +2,5 @@
0
 config/database.yml
0
 log
0
 tmp
0
+themes/*
...
10
11
12
13
14
15
16
...
10
11
12
 
13
14
15
0
@@ -10,7 +10,6 @@
0
 
0
 # Bootstrap the Rails environment, frameworks, and default configuration
0
 require File.join(File.dirname(__FILE__), 'boot')
0
-Object::RAILS_PATH = Pathname.new(File.expand_path(RAILS_ROOT))
0
 
0
 # requires vendor-loaded redcloth
0
 require 'RedCloth-3.0.4/lib/redcloth' unless Object.const_defined?(:RedCloth)
...
8
9
10
 
 
 
 
11
12
13
...
8
9
10
11
12
13
14
15
16
17
0
@@ -8,6 +8,10 @@
0
 
0
 ActiveRecord::Base.observers = [:article_observer, :comment_observer]
0
 
0
+# temporarily moved to vendor/plugins/aaa/init.rb to make sure
0
+# it's loaded before all other plugins
0
+# Object::RAILS_PATH = Pathname.new(File.expand_path(RAILS_ROOT))
0
+
0
 class ActionController::Dispatcher
0
   def self.register_liquid_tags
0
     Mephisto.liquid_filters.each { |mod| Liquid::Template.register_filter mod }
...
1
2
3
4
...
 
1
2
3
0
@@ -1,4 +1,3 @@
0
-Object::RAILS_PATH = Pathname.new(File.expand_path(RAILS_ROOT))
0
 module Mephisto
0
   @@liquid_filters = [CoreFilters, DropFilters, UrlFilters]
0
   @@liquid_tags = {:textile => Mephisto::Liquid::Textile, :commentform => Mephisto::Liquid::CommentForm, :head => Mephisto::Liquid::Head}

Comments

    No one has commented yet.