File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
actionview/lib/action_view Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ module ViewPaths
14
14
:locale , :locale= , :to => :lookup_context
15
15
16
16
module ClassMethods
17
+ # Returns the view prefixes.
18
+ #
19
+ # This method is private API.
17
20
def _prefixes # :nodoc:
18
21
@_prefixes ||= begin
19
22
deprecated_prefixes = handle_deprecated_parent_prefixes
@@ -31,6 +34,8 @@ def _prefixes # :nodoc:
31
34
32
35
# Override this method in your controller if you want to change paths prefixes for finding views.
33
36
# Prefixes defined here will still be added to parents' <tt>._prefixes</tt>.
37
+ #
38
+ # This method is public API for framework extensions.
34
39
def local_prefixes
35
40
[ controller_path ]
36
41
end
@@ -44,6 +49,8 @@ def handle_deprecated_parent_prefixes # TODO: remove in 4.3/5.0.
44
49
end
45
50
46
51
# The prefixes used in render "foo" shortcuts.
52
+ #
53
+ # This method is private API.
47
54
def _prefixes # :nodoc:
48
55
self . class . _prefixes
49
56
end
You can’t perform that action at this time.
0 commit comments