makes merged views work
This commit is contained in:
@ -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
|
||||
|
@ -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: {
|
||||
|
Reference in New Issue
Block a user