Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Route used as:default-landing-uri not accessible directly? #88

Open
nevenavv opened this issue Dec 23, 2013 · 1 comment
Open

Route used as:default-landing-uri not accessible directly? #88

nevenavv opened this issue Dec 23, 2013 · 1 comment

Comments

@nevenavv
Copy link

Hi,
I've just started using friend, and I'm quite fresh user of ring/compojure, and I'm probably missing something obvious, but I don't understand why route which is defined as :default-landing-uri is not accessible when I explicitly hit that url... E.g. :default-landing-uri "/welcome", works ok after login, but when I try localhost/welcome it redirect me to not-found route. Any hints?

@cemerick
Copy link
Owner

cemerick commented Feb 5, 2014

:default-landing-uri is a redirection target (for when someone logs in without previously being redirected because they hadn't logged in yet). It's not a route. Does that clarify things?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants