Permalink
Browse files

Merge pull request #311 from evilguc/master

typo in comment in lib/inherited_resources/class_methods.rb
  • Loading branch information...
2 parents fdc9de6 + bd50547 commit 58f81b47f94881116e9e8956e99bf9b55dfa4058 @joelmoss joelmoss committed Sep 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/inherited_resources/class_methods.rb
@@ -250,13 +250,13 @@ def optional_belongs_to(*symbols, &block)
# * <tt>:resource</tt> - Allows you to specify resource actions.
# custom_actions :resource => :delete
# This macro creates 'delete' method in controller and defines
- # delete_reource_{path,url} helpers. The body of generated 'delete'
+ # delete_resource_{path,url} helpers. The body of generated 'delete'
# method is same as 'show' method. So you can override it if need
#
# * <tt>:collection</tt> - Allows you to specify collection actions.
# custom_actions :collection => :search
# This macro creates 'search' method in controller and defines
- # search_reources_{path,url} helpers. The body of generated 'search'
+ # search_resources_{path,url} helpers. The body of generated 'search'
# method is same as 'index' method. So you can override it if need
#
def custom_actions(options)

0 comments on commit 58f81b4

Please sign in to comment.