Sha256: 1fef0d08279d00c1e6507be3ae43d641fb8990102db9006ec6ced84487b8f2df
Contents?: true
Size: 502 Bytes
Versions: 9
Compression:
Stored size: 502 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 if Lookbook::Features.enabled?(:pages) get "/#{Lookbook.config.page_route}", to: "pages#index", as: :page_index get "/#{Lookbook.config.page_route}/*path", to: "pages#show", as: :page end get "/preview/*path", to: "previews#preview", as: :preview get "/*path", to: "previews#show", as: :show end
Version data entries
9 entries across 9 versions & 1 rubygems