-
-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add with_port qualifier to the route matcher #1074
Conversation
Instead of using a before block, make a helper method (to keep with the project style).
end | ||
end | ||
|
||
def define_controller_and_routes(method:, path:, controller:, action:, **params) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [82/80]
controller: 'things', | ||
action: 'show', | ||
). | ||
with_port(99999) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not 0) spaces for indenting an expression in an assignment spanning multiple lines.
controller: 'things', | ||
action: 'show', | ||
). | ||
with_port(12345) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not 0) spaces for indenting an expression in an assignment spanning multiple lines.
end | ||
end | ||
|
||
def define_controller_and_routes(method:, path:, controller:, action:, **params) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [82/80]
controller: 'things', | ||
action: 'show', | ||
). | ||
with_port(99999) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not 0) spaces for indenting an expression in an assignment spanning multiple lines.
controller: 'things', | ||
action: 'show', | ||
). | ||
with_port(12345) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2 (not 0) spaces for indenting an expression in an assignment spanning multiple lines.
Closes #954.