module Nesta::ContentFocus::Routes
Public Class Methods
included(app)
click to toggle source
# File lib/nesta-contentfocus-extensions/routes.rb, line 4 def self.included(app) app.instance_eval do get '/css/*.css' do content_type 'text/css', charset: 'utf-8' sheet = params[:splat].join('/') stylesheet(sheet.to_sym) end end end