How do you add authentication checks on the /editor/.* routes in Mercury via the mercury-rails
gem?
I mean, I know you can:
- hide the link to the editor when not authenticated.
- refuse updates from the editor when not authenticated.
But I'd prefer the user be kicked out of the editor incase he/she has a bookmark to the editor and isn't logged in.
PS: Can someone create a mercury-editor
tag for this? Otherwise searching for mercury-editor is neigh impossible.