Hi Greg, I was trying to prevent non reviewers from seeing the full list of users by raising an unathorised error within the Devise users template.
I've modified the display so they can only see their own account, and I realise I could do this by customising the controller, but I wanted something quick and easy. Cheers Michael On Monday, 13 June 2016 18:42:59 UTC+1, Greg Navis wrote: > > I'm not sure whether this is possible at all. Even if it is, it'll violate > the principle of least surprise. Could you tell a bit more about what you > want to achieve so we might be able to suggest an alternative design? > -- > Greg Navis > I help tech companies to scale Heroku-hosted Rails apps. > Free, biweekly scalability newsletter for SaaS CEOs > <http://www.gregnavis.com/newsletter/> > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/16709df9-020c-4f92-b40b-fb49945ee4de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

