Class: NPlusInsight::AssetsController

Inherits:
ApplicationController show all
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

#scriptObject



11
12
13
# File 'app/controllers/n_plus_insight/assets_controller.rb', line 11

def script
  send_asset("overlay.js", "application/javascript")
end

#stylesheetObject



7
8
9
# File 'app/controllers/n_plus_insight/assets_controller.rb', line 7

def stylesheet
  send_asset("overlay.css", "text/css")
end