changeset 16: | 01fd3f10ae84 |
author: | moriq@moriq.com |
date: | Mon Mar 10 10:13:18 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add plugins rspec_on_rails |
1module ActionController2 class Base3 class << self4 def set_view_path(path)5 [:append_view_path, :view_paths=, :template_root=].each do |method|6 if respond_to?(method)7 return send(method, path)8 end9 end10 end11 end12 end13end14