janko / rodauth-rails

Rails integration for Rodauth authentication framework
https://github.com/jeremyevans/rodauth
MIT License
571 stars 40 forks source link

Add section on changing route prefix. #77

Closed andyrue closed 2 years ago

andyrue commented 2 years ago

Thought I would suggest adding this to the docs to make it a little clearer how to change the prefix.

janko commented 2 years ago

I understand that changing the path prefix is common, but in rodauth-rails docs I'm trying to avoid repeating official Rodauth documentation, and have it focused only on the new behaviour rodauth-rails adds. In this case, I'm not clear how this helps compared to the official docs:

Screenshot 2021-12-08 at 21 46 07
andyrue commented 2 years ago

Oh shoot, you're right. My apologies. I was on the official docs originally, but I guess I only noticed the prefix "/auth" part and not the additional block. Sorry!