Sha256: d66f0d671dd2c31f8ac99518bb5f075b1657a28aaf711c8c8ea46172f0b5462a
Contents?: true
Size: 326 Bytes
Versions: 3
Compression:
Stored size: 326 Bytes
Contents
class Users::MasqueradesController < Devise::MasqueradesController # Just an example showing how you would add authorization to devise_masquerade def show # do authorization stuff here super end protected # Custom url redirect after masquerade def after_masquerade_path_for(resource) "/" end end
Version data entries
3 entries across 3 versions & 1 rubygems