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

Fix broken URLs in views #718

Merged
merged 1 commit into from
Jun 6, 2019
Merged

Fix broken URLs in views #718

merged 1 commit into from
Jun 6, 2019

Conversation

bsp3ars
Copy link
Contributor

@bsp3ars bsp3ars commented Apr 2, 2019

Fixes #699

This should fix all of the listed URLs listed in #699.

@hortongn hortongn self-assigned this Apr 3, 2019
Copy link
Member

@hortongn hortongn left a comment

Choose a reason for hiding this comment

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

@bsp3ars I made a couple suggestions to your changes. Also the following parts of the issue are unresolved. Let me know if we need to discuss them because replacements don't exit.

app/views/static/format_advice.html.erb Outdated Show resolved Hide resolved
app/views/static/student_instructions.html.erb Outdated Show resolved Hide resolved
@bsp3ars bsp3ars force-pushed the bug/#699-fix-broken-urls branch 2 times, most recently from 97b3894 to c372227 Compare May 8, 2019 19:06
@coveralls
Copy link

coveralls commented May 8, 2019

Coverage Status

Coverage remained the same at 96.646% when pulling ec75989 on bug/#699-fix-broken-urls into bfa0f85 on develop.

@bsp3ars bsp3ars requested a review from hortongn May 9, 2019 14:33
@hortongn
Copy link
Member

@bsp3ars There's till unresolved stuff here. See #718 (comment) and #718 (review)

@bsp3ars
Copy link
Contributor Author

bsp3ars commented May 14, 2019

@hortongn this is ready for a review

@@ -12,7 +13,7 @@
<li>
Log in to <%=t('hyrax.product_name') %> using the <a href="#" style="color:white;background-color:black;padding:3px;">
<span class="glyphicon glyphicon-log-in" aria-hidden="true"></span > Login
</a> &nbsp;link (upper right corner of <a href="http://curly.libraries.uc.edu:3002/">curly.libraries.uc.edu</a>).
</a> &nbsp;link (upper right corner of <%= link_to root_path %>).
Copy link
Member

Choose a reason for hiding this comment

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

This should actually be Rails.application.config.application_root_url instead of root_path. We want the web page to display "http://some.url" but root_path just displays "/"

@bsp3ars
Copy link
Contributor Author

bsp3ars commented Jun 6, 2019

@hortongn This should be good to go

@hortongn hortongn merged commit b6222b2 into develop Jun 6, 2019
@hortongn hortongn deleted the bug/#699-fix-broken-urls branch June 6, 2019 16:44
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.

Fix broken URLs in views
3 participants