Skip to content

Commit

Permalink
remove duplicate definition of def_auto_action
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed May 30, 2008
1 parent 5525ee8 commit 3a69871
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hobo/lib/hobo/model_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,6 @@ def def_auto_action(name, &block)
define_method name, &block if name.not_in?(instance_methods) && include_action?(name)
end



def def_auto_action(name, &block)
define_method name, &block if name.not_in?(instance_methods) && include_action?(name)
end


def def_collection_actions(name)
def_auto_action name do
hobo_show_collection(name)
Expand Down

0 comments on commit 3a69871

Please sign in to comment.