Skip to content
This repository was archived by the owner on May 1, 2018. It is now read-only.

Hw2#34

Open
v-gachkovsky wants to merge 3 commits into
denysxftr:masterfrom
v-gachkovsky:hw2
Open

Hw2#34
v-gachkovsky wants to merge 3 commits into
denysxftr:masterfrom
v-gachkovsky:hw2

Conversation

@v-gachkovsky
Copy link
Copy Markdown

No description provided.

Comment thread hw2/lib/router.rb

def select_route(env)
@routes[env['REQUEST_METHOD'].to_sym] &&
@routes[env['REQUEST_METHOD'].to_sym]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@routes[env['REQUEST_METHOD'].to_sym]&.each

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thnx :)

@denysxftr
Copy link
Copy Markdown
Owner

nice

@denysxftr denysxftr mentioned this pull request Nov 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants