Sha256: 57c96ac71df20b3c4e52fd03f64ac96c0c9b9964e5e42b456e60da21146e37a2
Contents?: true
Size: 892 Bytes
Versions: 5
Compression:
Stored size: 892 Bytes
Contents
module GoodJob class AssetsController < ActionController::Base # rubocop:disable Rails/ApplicationController skip_before_action :verify_authenticity_token, raise: false 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
5 entries across 5 versions & 1 rubygems