Sha256: 61b59c346668700b54e97f5bee4ab36c163f43452b305b9e067bbeae2f492428
Contents?: true
Size: 510 Bytes
Versions: 3
Compression:
Stored size: 510 Bytes
Contents
class <%= @scope_prefix %>SessionsController < Devise::SessionsController # before_filter :configure_sign_in_params, only: [:create] # GET /resource/sign_in # def new # super # end # POST /resource/sign_in # def create # super # end # DELETE /resource/sign_out # def destroy # super # end # protected # You can put the params you want to permit in the empty array. # def configure_sign_in_params # devise_parameter_sanitizer.for(:sign_in) << :attribute # end end
Version data entries
3 entries across 3 versions & 2 rubygems