Class: Datatable::UrlHelper
- Inherits:
-
Object
- Object
- Datatable::UrlHelper
- Defined in:
- lib/datatablesnet/datatable.rb
Instance Method Summary collapse
Instance Method Details
#url_for(options = {}) ⇒ Object
default_url_options = :path
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/datatablesnet/datatable.rb', line 11 def url_for( = {}) ||= {} url = case when String super when Hash super when :back super else polymorphic_path() end url end |