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

[patch] Asset helpers should understand scheme-relative URLs #313

Closed
wants to merge 4 commits into from
Closed

[patch] Asset helpers should understand scheme-relative URLs #313

wants to merge 4 commits into from

Conversation

chadk
Copy link
Contributor

@chadk chadk commented Apr 26, 2011

Hello,

Please see the lighthouse ticket I submitted for details on this patch request:

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6748

A Rails contributer, @sferik, suggested I also submit a pull request.

Does this change look OK? Your time and feedback are appreciated.

Thanks,
Chad

@dhh
Copy link
Member

dhh commented Apr 26, 2011

Merge is_uri? and is_scheme_independent_uri?. The former should include a check for the latter. Need not be a separate method call. "//g.com" is an uri.

@chadk
Copy link
Contributor Author

chadk commented Apr 26, 2011

Thanks for the feedback. I've made the change.

arunagw pushed a commit to arunagw/rails that referenced this pull request Apr 26, 2011
[patch] Asset helpers should understand scheme-relative URLs
@dhh
Copy link
Member

dhh commented Apr 27, 2011

Applied.

@dhh dhh closed this Apr 27, 2011
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.

None yet

2 participants