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

🎨 add urlFor('admin') and increase usage of urlFor helper #7935

Merged
merged 1 commit into from
Feb 2, 2017

Conversation

kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Feb 2, 2017

refs #7488

This is what we would like to achieve:
#7488 (comment)

refs #7488

  • to be able to refactor the url configuration in ghost, we need to go step by step making this possible
  • reduce the usage of forceAdminSSL
  • add a urlFor('admin') helper, which returns the admin url + path e.g. http://my-blog.com/blog/ghost
  • increase usage of urlFor helper
  • do not expose getBaseUrl, use urlFor('home') (home === blog)

@kirrg001 kirrg001 force-pushed the url/url-for-admin branch 3 times, most recently from dabec59 to fc89b87 Compare February 2, 2017 15:31
@kirrg001 kirrg001 changed the title 🎨 add urlFor('admin') 🎨 add urlFor('admin') and increase usage of urlFor helper Feb 2, 2017
refs TryGhost#7488

- to be able to refactor the url configuration in ghost, we need to go step by step making this possible
- reduce the usage of forceAdminSSL
- add a urlFor('admin') helper, which returns the admin url + path e.g. http://my-blog.com/blog/ghost
- increase usage of urlFor helper
- do not expose getBaseUrl, use urlFor('home') (home === blog)
@ErisDS ErisDS merged commit 16f5d1f into TryGhost:master Feb 2, 2017
@ErisDS
Copy link
Member

ErisDS commented Feb 2, 2017

All LGTM! 👍

@ErisDS ErisDS removed their assignment Jun 22, 2021
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