Sha256: 049d4d473f247a168f04918584ef7ce48fd5b19608bbef017a095e4f4dfd90a6

Contents?: true

Size: 284 Bytes

Versions: 27

Compression:

Stored size: 284 Bytes

Contents

Lookbook::Engine.routes.draw do
  if Lookbook.config.auto_refresh
    mount Lookbook::Engine.websocket => Lookbook::Engine.cable.mount_path
  end

  root to: "app#index", as: :home

  get "/preview/*path", to: "app#preview", as: :preview
  get "/*path", to: "app#show", as: :show
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
lookbook-0.3.3 config/routes.rb
lookbook-0.3.2 config/routes.rb
lookbook-0.3.1 config/routes.rb
lookbook-0.3.0 config/routes.rb
lookbook-0.3.0.beta.2 config/routes.rb
lookbook-0.3.0.beta.1 config/routes.rb
lookbook-0.3.0.beta.0 config/routes.rb