Sha256: 20ff41bca3acd9a5a1c0b1ba0e3ae0fec3dd3c4adb34cdde140a7e1ce18b455f
Contents?: true
Size: 336 Bytes
Versions: 11
Compression:
Stored size: 336 Bytes
Contents
module Authpds module Controllers module AuthpdsController module UrlHandling # Controller method to generate the Appropriate redirect url def user_session_redirect_url(url) (url.nil? or url.empty?) ? (request.referer.nil?) ? root_url : request.referer : url end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems