nbudin/devise_cas_authenticatable — pull request #32 by dyson (2012-01-11 06:07:51+00:00)
Title: Destination, follow URL and which to pass configurable.

Just a final fix to all of the issues I had raised. This makes everything configurable so compatibility is maximised. You might like to solve it another way.

If cas_destination_url or cas_follow_url is blank and you have set either of those as the logout param, it will create them the way you automatically do now.

Perhaps follow should be called url as that is what it is called in the cas spec but rubycas-client calls it follow so I kept it as follow.

config.cas_destination_url = 'http://something.com'
config.cas_follow_url = http://something.com'
config.cas_logout_url_param = 'destination' //or 'follow' or ''

Just passing this commit on as I needed it more configurable for my needs and thought it would be useful for everyone.