app/controllers/invitations_controller.rb in devise_invitable-0.1.0 vs app/controllers/invitations_controller.rb in devise_invitable-0.1.1
- old
+ new
@@ -1,9 +1,10 @@
class InvitationsController < ApplicationController
include Devise::Controllers::Helpers
before_filter :authenticate_resource!, :only => [:new, :create]
before_filter :require_no_authentication, :only => [:edit, :update]
+ helper_method :after_sign_in_path_for
# GET /resource/invitation/new
def new
build_resource
render_with_scope :new