User you authentication for this otherwise it's not very DRY


On 4 November 2013 15:04, BitGub <notifications@github.com> wrote:

> In app/controllers/users_controller.rb:
>
> > @@ -1,2 +1,6 @@
> >  class UsersController < ApplicationController
> > +
>
> I was going to put actions for non-admin/mangers in this controller, and
> admin specific actions in the Admin:: controller... i.e the
> admin_users#edit action will be different to the users#edit action. I know
> I can put them all the UsersController and just validate the user on each
> action, but I'm testing to see if this way leaves my controllers cleaner
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/BitGub/zucono/pull/6/files#r7401731>
> .
>