repo.or.cz
/
monkeycharger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Upgraded Rails and RSpec
[monkeycharger.git]
/
vendor
/
plugins
/
rspec
/
rspec_on_rails
/
lib
/
spec
/
rails
/
extensions
/
action_controller
/
base.rb
blob
1f7edf83c2701a0c665af8b3bfc296eff7145f4f
1
module ActionController
2
class Base
3
class << self
4
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
end
9
end
10
end
11
end
12
end
13
end
14