1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/controllers/api/stylesheets_controller.rb
2020-03-25 12:35:08 +01:00

12 lines
311 B
Ruby

# frozen_string_literal: true
# API Controller for resources of type Stylesheet
# Stylesheets are used to customize the appearance of Fab-manager
class API::StylesheetsController < API::ApiController
caches_page :show # magic happens here
def show
@stylesheet = Stylesheet.find(params[:id])
end
end