Class: LlmCostTracker::AssetsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- LlmCostTracker::AssetsController
- Defined in:
- app/controllers/llm_cost_tracker/assets_controller.rb
Instance Method Summary collapse
Instance Method Details
#stylesheet ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/llm_cost_tracker/assets_controller.rb', line 7 def stylesheet path = File.join(LlmCostTracker::Assets.root, LlmCostTracker::Assets::STYLESHEET) response.set_header("Cache-Control", "public, max-age=31536000, immutable") send_file path, type: "text/css", disposition: "inline" end |