Because otherwise when someone tries to confirm their invite, they get no access…

invitation_feature_spec.rb:95 fluxed that out


On 25 Mar 2014, at 16:37, hrishimittal <notifications@github.com> wrote:

> In app/controllers/users/invitations_controller.rb:
> 
> > @@ -0,0 +1,8 @@
> > +class Users::InvitationsController < Devise::InvitationsController
> > +  before_filter :require_admin!, only: [:new]
> why only new?
> 
> —
> Reply to this email directly or view it on GitHub.
>