Permalink
Browse files

typo in comment in lib/inherited_resources/class_methods.rb

  • Loading branch information...
1 parent fdc9de6 commit bd505478b77c0acf946caa8fce866637ab7eec65 @evilguc evilguc committed Sep 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/inherited_resources/class_methods.rb
View
4 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 bd50547

Please sign in to comment.