Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removing #emit and #param for 1.2.

  • Loading branch information...
commit c21d34d08ba44c682de86fce9a08423057043b59 1 parent 43985ac
@apotonick authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 lib/apotomo/widget.rb
View
9 lib/apotomo/widget.rb
@@ -126,15 +126,6 @@ def render(*args, &block)
super
end
- alias_method :emit, :render
-
- def param(name)
- msg = "Deprecated. Use #options for widget constructor options or #params for request data."
- ActiveSupport::Deprecation.warn(msg)
- raise msg
- end
-
-
# Returns the widget named +widget_id+ if it's a descendent or self.
def find_widget(widget_id)
find {|node| node.name.to_s == widget_id.to_s}
Please sign in to comment.
Something went wrong with that request. Please try again.