Sha256: 7d160917800fecd3de0fc5d88067fa1ed04b0b9728e9f2fca02b3a0dfe4d7a5d
Contents?: true
Size: 572 Bytes
Versions: 2
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true class Admin::Users::SessionsController < Devise::SessionsController layout 'admin/auth' # before_action :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 # If you have extra params to permit, append them to the sanitizer. # def configure_sign_in_params # devise_parameter_sanitizer.permit(:sign_in, keys: [:attribute]) # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
headmin-0.1.2 | app/controllers/admin/users/sessions_controller.rb |
headmin-0.1.1 | app/controllers/admin/users/sessions_controller.rb |