Sha256: 9980017217d49bcf2a4ef2665838ac5b84456a4d65e7f496881f3cec1e056dd8
Contents?: true
Size: 878 Bytes
Versions: 2
Compression:
Stored size: 878 Bytes
Contents
module GoodJob class AssetsController < ActionController::Base # rubocop:disable Rails/ApplicationController skip_before_action :verify_authenticity_token before_action do expires_in 1.year, public: true end def bootstrap_css render file: GoodJob::Engine.root.join("app", "assets", "vendor", "bootstrap", "bootstrap.min.css") end def bootstrap_js render file: GoodJob::Engine.root.join("app", "assets", "vendor", "bootstrap", "bootstrap.bundle.min.js") end def chartist_css render file: GoodJob::Engine.root.join("app", "assets", "vendor", "chartist", "chartist.css") end def chartist_js render file: GoodJob::Engine.root.join("app", "assets", "vendor", "chartist", "chartist.js") end def style_css render file: GoodJob::Engine.root.join("app", "assets", "style.css") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
good_job-1.9.6 | engine/app/controllers/good_job/assets_controller.rb |
good_job-1.9.5 | engine/app/controllers/good_job/assets_controller.rb |