class ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper::OptimizedUrlHelper

Public Instance Methods

call(t, args, inner_options) click to toggle source
# File lib/maskara/railtie.rb, line 11
def call(t, args, inner_options)
  maskara_prefix(t.controller) + call_without_maskara_check(t, args, inner_options)
end
Also aliased as: call_without_maskara_check
call_without_maskara_check(t, args, inner_options)
Alias for: call
maskara_prefix(controller) click to toggle source
# File lib/maskara/railtie.rb, line 15
def maskara_prefix(controller)
  controller.maskara_request? ? "/#{Maskara.path_stub}" : ''
end