Sha256: 554cb043e394c18e7f278d74a314b73f86379e58c767996e0a43261dfb2b11b8
Contents?: true
Size: 497 Bytes
Versions: 13
Compression:
Stored size: 497 Bytes
Contents
class Users::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
13 entries across 13 versions & 1 rubygems