Files
gitlink-forgeplus/app/controllers/helps/faqs_controller.rb
2021-05-14 16:39:32 +08:00

9 lines
227 B
Ruby

class Helps::FaqsController < ApplicationController
skip_before_action :check_sign, :user_setup
def index
faqs = Faq.select_without_id.order(updated_at: :desc)
render json: faqs.as_json(:except => [:id])
end
end