diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-17 15:32:55 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-17 15:32:55 -0700 |
commit | d8f352e970ec86e8b791f9994465a3678a44281f (patch) | |
tree | cb8f52f0c288638211cbf228d06c75631f4cb799 /actionpack/test/lib | |
parent | 7ac9f29093c8f4d9739008a52d7d3265cfb04e23 (diff) | |
download | rails-d8f352e970ec86e8b791f9994465a3678a44281f.tar.gz rails-d8f352e970ec86e8b791f9994465a3678a44281f.tar.bz2 rails-d8f352e970ec86e8b791f9994465a3678a44281f.zip |
Rename ActionView::Template::Path ActionView::Resolver
Diffstat (limited to 'actionpack/test/lib')
-rw-r--r-- | actionpack/test/lib/fixture_template.rb | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/actionpack/test/lib/fixture_template.rb b/actionpack/test/lib/fixture_template.rb index 4ea451879c..5cf414a1c6 100644 --- a/actionpack/test/lib/fixture_template.rb +++ b/actionpack/test/lib/fixture_template.rb @@ -1,6 +1,5 @@ module ActionView #:nodoc: -class Template - class FixturePath < Path + class FixtureResolver < Resolver def initialize(hash = {}, options = {}) super(options) @hash = hash @@ -65,40 +64,4 @@ class Template end end end - - - # class FixtureTemplate < Template - # class FixturePath < Template::Path - # def initialize(hash = {}) - # @hash = {} - # - # hash.each do |k, v| - # @hash[k.sub(/\.\w+$/, '')] = FixtureTemplate.new(v, k.split("/").last, self) - # end - # - # super("fixtures://root") - # end - # - # def find_template(path) - # @hash[path] - # end - # end - # - # def initialize(body, *args) - # @body = body - # super(*args) - # end - # - # def source - # @body - # end - # - # private - # - # def find_full_path(path, load_paths) - # return '/', path - # end - # - # end -end end
\ No newline at end of file |