# The ChangesetController is the RESTful interface to Changeset objects
class ChangesetsController < ApplicationController
+ include UserMethods
+
layout "site"
require "xml/libxml"
before_action :authorize_web
before_action :set_locale
- before_action -> { check_database_readable(true) }, :only => [:index, :feed]
+ before_action -> { check_database_readable(:need_api => true) }, :only => [:index, :feed]
authorize_resource