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)
|
2012-10-04 13:45:49 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|