app/helpers/radius_helper.rb in radius-rails-0.0.6 vs app/helpers/radius_helper.rb in radius-rails-3.1.4

- old
+ new

@@ -24,7 +24,25 @@ else "#{kracken_url}/admin/masquerade/destroy" end end + def signout_user_path + if respond_to?(:destroy_user_session_path) + destroy_user_session_path + else + "#{kracken_url}/users/sign_out" + end + end + def manage_user_path + if respond_to?(:edit_user_registration_path) + edit_user_registration_path + else + "#{kracken_url}/users/edit" + end + end + + def manage_teams_path + "#{kracken_url}/teams" + end end