makes merged views work

This commit is contained in:
2022-11-29 01:13:46 +02:00
parent 7179eabd2c
commit e0b17b6044
19 changed files with 281 additions and 24 deletions

View File

@ -1,6 +1,7 @@
Rails.application.routes.draw do
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Defines the root path route ("/")
# root "articles#index"
mount Merged::Engine => "/merged"
get ":id" , to: "merged/view#view" , id: :id
root "merged/view#view" , id: 'index'
end

View File

@ -5,7 +5,8 @@ module.exports = {
'./public/*.html',
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
'./app/views/**/*.{erb,haml,html,slim}'
'./app/views/**/*.{erb,haml,html,slim}' ,
'./merged/app/views/**/*.{erb,haml,html,slim}'
],
theme: {
extend: {