Websites/app/controllers/yiff_rest/state_controller.rb

24 lines
353 B
Ruby
Raw Normal View History

2024-05-03 03:04:43 +00:00
# frozen_string_literal: true
module YiffRest
class StateController < ApplicationController
def index
@state = APIImage.state
end
private
def site_domain
YiffRestRoutes::STATE_DOMAIN
end
def site_title
"YiffyAPI - API V2 State"
end
def assets_path
YiffMediaRoutes::DOMAIN
end
end
end