2012-10-04 13:45:49 +01:00
|
|
|
class Api::V1::ArchesController < Api::V1::BaseController
|
2012-10-04 14:13:55 +01:00
|
|
|
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)
|
2014-08-28 21:46:42 +01:00
|
|
|
respond_to :json
|
2012-10-04 13:45:49 +01:00
|
|
|
end
|
|
|
|
|
2014-08-28 21:22:11 +01:00
|
|
|
end
|