Permalink
Browse files

RAILS_ROOT --> Rails.root

  • Loading branch information...
1 parent 2bbcd7e commit cec213ae2fbe508284ebbdd666f9cfc20fc86d46 @zuk committed Jan 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubycas-client-rails.rb
@@ -411,7 +411,7 @@ def delete_service_session_lookup(st)
# Returns the path and filename of the service session lookup file.
def filename_of_service_session_lookup(st)
st = st.ticket if st.kind_of? CASClient::ServiceTicket
- return "#{RAILS_ROOT}/tmp/sessions/cas_sess.#{st}"
+ return "#{Rails.root}/tmp/sessions/cas_sess.#{st}"
end
end
@@ -421,4 +421,4 @@ def self.use_gatewaying?
end
end
end
-end
+end

0 comments on commit cec213a

Please sign in to comment.