rosa-build/app/controllers/api/v1/arches_controller.rb

9 lines
238 B
Ruby

# -*- encoding : utf-8 -*-
class Api::V1::ArchesController < Api::V1::BaseController
before_filter :authenticate_user! unless APP_CONFIG['anonymous_access']
def index
@arches = Arch.order(:id).paginate(paginate_params)
end
end