- get "relation/:id/relations" => "api/relations#relations_for_relation", :id => /\d+/, :defaults => { :format => "xml" }
- get "relation/:id/history" => "api/old_relations#history", :id => /\d+/, :defaults => { :format => "xml" }
- get "relation/:id/full" => "api/relations#full", :id => /\d+/, :defaults => { :format => "xml" }
- post "relation/:id/:version/redact" => "api/old_relations#redact", :version => /\d+/, :id => /\d+/
- get "relation/:id/:version" => "api/old_relations#version", :id => /\d+/, :version => /\d+/, :defaults => { :format => "xml" }
- get "relation/:id" => "api/relations#show", :id => /\d+/, :defaults => { :format => "xml" }
+ get "relation/:id/relations" => "api/relations#relations_for_relation", :as => :relation_relations, :id => /\d+/
+ get "relation/:id/history" => "api/old_relations#history", :as => :api_relation_history, :id => /\d+/
+ get "relation/:id/full" => "api/relations#full", :as => :relation_full, :id => /\d+/
+ post "relation/:id/:version/redact" => "api/old_relations#redact", :as => :relation_version_redact, :version => /\d+/, :id => /\d+/
+ get "relation/:id/:version" => "api/old_relations#version", :as => :relation_version, :id => /\d+/, :version => /\d+/
+ get "relation/:id" => "api/relations#show", :as => :api_relation, :id => /\d+/