1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/controllers/api/stylesheets_controller.rb

12 lines
311 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# API Controller for resources of type Stylesheet
2020-02-26 10:19:43 +01:00
# Stylesheets are used to customize the appearance of Fab-manager
2016-03-23 18:39:41 +01:00
class API::StylesheetsController < API::ApiController
caches_page :show # magic happens here
def show
@stylesheet = Stylesheet.find(params[:id])
end
end