mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00
9 lines
348 B
Ruby
9 lines
348 B
Ruby
class RelationsController < ElementsController
|
|
def show
|
|
@type = "relation"
|
|
@feature = Relation.preload(:relation_tags, :containing_relation_members, :changeset => [:changeset_tags, :user], :relation_members => :member).find(params[:id])
|
|
rescue ActiveRecord::RecordNotFound
|
|
render "browse/not_found", :status => :not_found
|
|
end
|
|
end
|