Attempt to fix rubocop warnings

This commit is contained in:
Jason Meller 2021-12-02 23:26:50 -05:00 committed by Rafael Mendonça França
parent a78d3e3207
commit e388ebe0f2
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948

@ -325,19 +325,19 @@ def test_bind_params
with_routing do |set|
set.draw do
scope ":account_id" do
get 'dashboard' => 'pages#dashboard', as: :dashboard
get 'search/:term' => 'search#search', as: :search
get "dashboard" => "pages#dashboard", as: :dashboard
get "search/:term" => "search#search", as: :search
end
delete 'signout' => 'sessions#destroy', as: :signout
delete "signout" => "sessions#destroy", as: :signout
end
# We need to create a new class in order to install the new named route.
kls = Class.new do
include set.url_helpers
def default_url_options
{ bind_params: { account_id: "foo" } }
end
def default_url_options
{ bind_params: { account_id: "foo" } }
end
end
controller = kls.new