Module: Jets::Router::Helpers::CoreHelper

Extended by:
ActiveSupport::Concern
Included in:
Jets::Router::Helpers
Defined in:
lib/jets/router/helpers/core_helper.rb

Constant Summary collapse

CONTROLLER_DELEGATES =

override helper delegates to point to jets controller TODO: params is weird

%w[session response headers]

Instance Method Summary collapse

Instance Method Details

#polymorphic_path(record, _) ⇒ Object

Used for form_for helper



6
7
8
# File 'lib/jets/router/helpers/core_helper.rb', line 6

def polymorphic_path(record, _)
  url_for(record)
end