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