20 lines
456 B
Ruby
20 lines
456 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module ButtsAreCool
|
||
|
class BallsController < ButtsAreCool::ApplicationController
|
||
|
include ::ApplicationController::CommonAssetRoutes
|
||
|
|
||
|
def index
|
||
|
render("butts_are_cool/home/custom", locals: { type: "balls", post_id: "1422653", file_ext: "jpg" })
|
||
|
end
|
||
|
|
||
|
def assets_path
|
||
|
"#{ButtsAreCoolRoutes::DOMAIN}/custom/balls"
|
||
|
end
|
||
|
|
||
|
def site_domain
|
||
|
ButtsAreCoolRoutes::BALLS_DOMAIN
|
||
|
end
|
||
|
end
|
||
|
end
|