24 lines
353 B
Ruby
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
|