Mercurial > hg > soundsoftware-site
view .svn/pristine/b7/b71d26113de106cfa8f53a03df10400eb394a685.svn-base @ 915:2a68662d5adf cannam_integration
*needs further testing* Moved several files' extension to ".erb"; modified two files because they were calling partials/templates with rhtml extensions; renamed email templates sent when a user is added to a publication.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 02 Mar 2012 12:37:17 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
module OpenIdAuthentication module Request def self.included(base) base.alias_method_chain :request_method, :openid end def request_method_with_openid if !parameters[:_method].blank? && parameters[:open_id_complete] == '1' parameters[:_method].to_sym else request_method_without_openid end end end end # In Rails 2.3, the request object has been renamed # from AbstractRequest to Request if defined? ActionController::Request ActionController::Request.send :include, OpenIdAuthentication::Request else ActionController::AbstractRequest.send :include, OpenIdAuthentication::Request end