Wax admin welcome

Welcome message and sign out link for Admin
still not following this that well because it is working on my machine. you’re probably thinking you shouldn’t have shown me this yesterday but i ran with it and seemed to have learned something.  apparently i have an error somewhere according to what you’ve stated (and i do believe you, of course) so i’m curious why it’s working.  again, i’m probably making some mistake.  

Best, 

~Wax

jwaxnyc@gmail.com
917.279.6650

On Aug 7, 2014, at 2:17 PM, Matthew Mongeau <notifications@github.com> wrote:

> In config/routes.rb:
> 
> >    resources :regions, only: [:new, :create, :show] do
> >      resources :categories, only: [:new, :create, :show]
> >    end
> >  
> > -
> > +  get "sign-in" => "sessions#new"
> > +  post "sign-in" => "sessions#create"
> > +  get "sign-in" => "regions#index"
> This "sign-in" will never be accessed because there is a get "sign-in" above it. The one above that goes to "sessions#new" is the correct one. You don't want "sign-in" going to "regions#index"
> 
> —
> Reply to this email directly or view it on GitHub.
>