module Api
module V1
class PagesController < ApplicationController
def show
@page = Page.find_by(some_id_number: params[:some_id_number])
render json: { status: 'SUCCESS', message: 'loaded', somenumber: @page.some_id_number, pid: @page.id }, status: :ok
end
end
end
end