Class: NPlusInsight::AssetsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- NPlusInsight::AssetsController
- Defined in:
- app/controllers/n_plus_insight/assets_controller.rb
Constant Summary collapse
- ASSET_ROOT =
NPlusInsight::Engine.root.join("app", "assets", "n_plus_insight")
Instance Method Summary collapse
Instance Method Details
#script ⇒ Object
11 12 13 |
# File 'app/controllers/n_plus_insight/assets_controller.rb', line 11 def script send_asset("overlay.js", "application/javascript") end |
#stylesheet ⇒ Object
7 8 9 |
# File 'app/controllers/n_plus_insight/assets_controller.rb', line 7 def stylesheet send_asset("overlay.css", "text/css") end |