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

9 lines
238 B
Ruby
Raw Normal View History

2012-10-04 13:45:49 +01:00
# -*- encoding : utf-8 -*-
class Api::V1::ArchesController < Api::V1::BaseController
before_filter :authenticate_user! unless APP_CONFIG['anonymous_access']
2012-10-04 13:45:49 +01:00
def index
2012-10-10 13:02:59 +01:00
@arches = Arch.order(:id).paginate(paginate_params)
2012-10-04 13:45:49 +01:00
end
end