lib/apotomo/rails/view_helper.rb in apotomo-1.0.0.beta2 vs lib/apotomo/rails/view_helper.rb in apotomo-1.0.0
- old
+ new
@@ -51,11 +51,10 @@
#
# Example:
# url_for_event(:paginate, :page => 2)
# #=> http://apotomo.de/mouse/process_event_request?type=paginate&source=mouse&page=2
def url_for_event(type, options={})
- options.reverse_merge! :source => widget_id
- @cell.url_for_event(type, options) # FIXME: don't access @parent_controller but @cell.
+ @cell.url_for_event(type, options)
end
### TODO: test me.
def update_url(fragment)
'SWFAddress.setValue("' + fragment + '");'