scinote-web/app/controllers/concerns/api/v1/extra_params.rb

14 lines
202 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Api
module V1
module ExtraParams
extend ActiveSupport::Concern
def render_rte?
params[:render_rte] == 'true'
end
end
end
end