Sha256: b69beb7f6e0ce0d1aac3ebe81ea48966dbb5eee1b4eb63e46c3395f683b646a8
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
Lookbook::Engine.routes.draw do if Lookbook.config.auto_refresh mount Lookbook::Engine.websocket => Lookbook.config.cable_mount_path end root to: "application#index", as: :home get "/#{Lookbook.config.page_route}", to: "pages#index", as: :page_index get "/#{Lookbook.config.page_route}/*path", to: "pages#show", as: :page get "/preview/*path", to: "previews#preview", as: :preview get "/inspect/*path", to: "previews#show", as: :inspect get "/*path", to: "previews#show_legacy", as: :inspect_legacy end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lookbook-1.0.0.beta.1 | config/routes.rb |
lookbook-1.0.0.beta.0 | config/routes.rb |