Skip to content
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

Merged
merged 2 commits into from
Jan 26, 2018

Conversation

mcmire
Copy link
Collaborator

@mcmire mcmire commented Jan 26, 2018

Closes #954.

Instead of using a before block, make a helper method (to keep with
the project style).
@mcmire mcmire added this to the v4.0 milestone Jan 26, 2018
end
end

def define_controller_and_routes(method:, path:, controller:, action:, **params)

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)

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)

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)

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)

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)

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.

@mcmire mcmire merged commit b4e0bce into master Jan 26, 2018
@mcmire mcmire deleted the add-port-qualifier-to-route-matcher branch January 26, 2018 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants