Skip to content

Commit

Permalink
gsub("ActionPack", "Action Pack")
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed May 21, 2008
1 parent 11f0fd5 commit 46f0836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/mime_type.rb
Expand Up @@ -158,7 +158,7 @@ def ==(mime_type)
end end
end end


# Returns true if ActionPack should check requests using this Mime Type for possible request forgery. See # Returns true if Action Pack should check requests using this Mime Type for possible request forgery. See
# ActionController::RequestForgerProtection. # ActionController::RequestForgerProtection.
def verify_request? def verify_request?
!@@unverifiable_types.include?(to_sym) !@@unverifiable_types.include?(to_sym)
Expand Down
2 changes: 1 addition & 1 deletion activeresource/lib/active_resource/base.rb
Expand Up @@ -701,7 +701,7 @@ def id=(id)
attributes[self.class.primary_key] = id attributes[self.class.primary_key] = id
end end


# Allows ActiveResource objects to be used as parameters in ActionPack URL generation. # Allows ActiveResource objects to be used as parameters in Action Pack URL generation.
def to_param def to_param
id && id.to_s id && id.to_s
end end
Expand Down

0 comments on commit 46f0836

Please sign in to comment.