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 a blank, not just nil, base_url. #521

Merged
merged 1 commit into from
Jan 30, 2017

Conversation

johnnaegle
Copy link
Contributor

I changed my api_base_url from '/api' to '' and had document generation fail because only nil base_urls were allowed. This relaxes that and allows a blank base_url.

I changed my api_base_url from '/api' to '' and had document generation fail
because only nil base_urls were allowed.  This relaxes that and allows a blank
base_url.
@iNecas
Copy link
Member

iNecas commented Jan 30, 2017

Makes sense. Thanks @johnnaegle

@iNecas iNecas merged commit e68e862 into Apipie:master Jan 30, 2017
@iNecas
Copy link
Member

iNecas commented Feb 18, 2017

apipie-rails-0.4.0 has just been released, including this fix. Thanks @johnnaegle for help!

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.

2 participants