Skip to content

Commit

Permalink
removed Controller.uses_method alias. We got has_widgets for that.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Jan 4, 2011
1 parent aeb2641 commit 26293d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/apotomo/rails/controller_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ module ClassMethods
def has_widgets(&block)
has_widgets_blocks << block
end

alias_method :uses_widgets, :has_widgets
end

def bound_use_widgets_blocks
Expand Down

0 comments on commit 26293d9

Please sign in to comment.