1 class NodesController < ApplicationController
4 before_action :authorize_web
5 before_action :set_locale
6 before_action -> { check_database_readable(:need_api => true) }
7 before_action :require_oauth
11 around_action :web_timeout
15 @feature = Node.preload(:node_tags, :containing_relation_members, :changeset => [:changeset_tags, :user], :ways => :way_tags).find(params[:id])
16 render "browse/feature"
17 rescue ActiveRecord::RecordNotFound
18 render "browse/not_found", :status => :not_found