Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
RAILS_ROOT --> Rails.root
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Zukowski committed Jan 27, 2011
1 parent 2bbcd7e commit cec213a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubycas-client-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -421,4 +421,4 @@ def self.use_gatewaying?
end
end
end
end
end

0 comments on commit cec213a

Please sign in to comment.