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

Allow the user to set and get global api-root path #47

Merged

Conversation

harenson
Copy link
Member

Also fix sync repo.

ok = trails:api_root("/api"),
"/api" = trails:api_root(),
Routes = [trails:trail("/things", the_handler)],
[{'_',[],[{[<<"api">>, <<"things">>],[],the_handler,[]}]}] =
Copy link
Member

Choose a reason for hiding this comment

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

According to Elvis:

Missing space after "," on line 313

Copy link
Member

Choose a reason for hiding this comment

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

According to Elvis:

Missing space after "," on line 313

@@ -1,17 +1,13 @@
PROJECT = trails

DEPS = cowboy cowlib ranch
TEST_DEPS = xref_runner cowboy
Copy link
Member

Choose a reason for hiding this comment

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

cowboy is already in DEPS and TEST_DEPS includes DEPS implicitely

@harenson harenson force-pushed the harenson.42.allow-the-user-to-set-global-api-root-path branch from 2be7719 to bbe372c Compare November 23, 2015 20:58
elbrujohalcon pushed a commit that referenced this pull request Nov 23, 2015
…lobal-api-root-path

Allow the user to set and get global api-root path
@elbrujohalcon elbrujohalcon merged commit 92f654a into master Nov 23, 2015
@harenson harenson deleted the harenson.42.allow-the-user-to-set-global-api-root-path branch November 23, 2015 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants