Websites/app/controllers/yiff_rest/state_controller.rb
2024-05-02 22:04:43 -05:00

24 lines
353 B
Ruby

# 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