There's a path helper for this. rails_admin_path or rails_admin_url should work.