Andrew Noblet
Andrew Noblet

Reputation: 300

Polymer URL mapping

Using iron pages is there anyway to map a URL to a different file? In my case it would just be /login to Login.phtml (case-sensitive,) but there may be other cases.

Upvotes: 0

Views: 71

Answers (1)

Siebren K.
Siebren K.

Reputation: 41

Please do not use caps in file names.

using caps in polymer will translate to dash-case, so ThisIsACoolName will translate to this-is-a-cool-name. It might be a personal preference, but i would suggest to just keep it lower-case.

Upvotes: 1

Related Questions