Sha256: c532f020797eb5bd362531839c8539cfcd4d480f20dc05acf5b90d0be1e5bad1

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module Raddar
  class Users::SessionsController < Devise::SessionsController
    before_action :configure_permitted_parameters

    private

    def configure_permitted_parameters
      devise_parameter_sanitizer.for(:sign_in) { |u| u.permit(:login) }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
raddar-0.0.1.pre app/controllers/raddar/users/sessions_controller.rb