1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge branch 'master' of github.com:rails/docrails

This commit is contained in:
Vijay Dev 2015-12-20 12:33:46 +00:00
commit b691d62be9
3 changed files with 5 additions and 5 deletions

View file

@ -49,7 +49,7 @@ module AbstractController
# instance methods on that abstract class. Public instance methods of
# a controller would normally be considered action methods, so methods
# declared on abstract classes are being removed.
# (ActionController::Metal and ActionController::Base are defined as abstract)
# (<tt>ActionController::Metal</tt> and ActionController::Base are defined as abstract)
def internal_methods
controller = self
@ -80,7 +80,7 @@ module AbstractController
# action_methods are cached and there is sometimes need to refresh
# them. ::clear_action_methods! allows you to do that, so next time
# you run action_methods, they will be recalculated
# you run action_methods, they will be recalculated.
def clear_action_methods!
@action_methods = nil
end

View file

@ -166,7 +166,7 @@ module ActionController
alias :response_code :status # :nodoc:
# Basic url_for that can be overridden for more robust functionality
# Basic url_for that can be overridden for more robust functionality.
def url_for(string)
string
end

View file

@ -17,7 +17,7 @@
<% end -%>
<% else -%>
# This model initially had no columns defined. If you add columns to the
# This model initially had no columns defined. If you add columns to the
# model remove the '{}' from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
@ -25,5 +25,5 @@ one: {}
# column: value
#
two: {}
# column: value
# column: value
<% end -%>