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

9 lines
236 B
Ruby
Raw Normal View History

2012-10-04 13:45:49 +01:00
# -*- encoding : utf-8 -*-
class Api::V1::ArchesController < Api::V1::BaseController
skip_before_filter :authenticate_user!, :only => [:index] if APP_CONFIG['anonymous_access']
def index
@arches = Arch.order(:id).all
end
end