Fix test
This commit is contained in:
parent
2d4d0fd8b5
commit
75b56ad5c7
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ module ThemeHelper
|
|||
def custom_stylesheet
|
||||
if active_custom_stylesheet.present?
|
||||
stylesheet_link_tag(
|
||||
"/css/#{active_custom_stylesheet}.css", # custom_css_path(active_custom_stylesheet),
|
||||
custom_css_path(active_custom_stylesheet),
|
||||
host: root_url,
|
||||
media: :all,
|
||||
skip_pipeline: true
|
||||
|
|
|
@ -55,7 +55,7 @@ Rails.application.routes.draw do
|
|||
|
||||
get 'manifest', to: 'manifests#show', defaults: { format: 'json' }
|
||||
get 'intent', to: 'intents#show'
|
||||
get 'custom.css', to: 'custom_css#show', as: :custom_css
|
||||
get 'custom.css', to: 'custom_css#show'
|
||||
resources :custom_css, only: :show, path: :css
|
||||
get 'system.css', to: 'system_css#show', as: :system_css
|
||||
get 'user_custom.css', to: 'user_custom_css#show', as: :user_custom_css
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue