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.6.1 config/routes.rb
lookbook-0.6.0 config/routes.rb
lookbook-0.5.2 config/routes.rb
lookbook-0.5.1 config/routes.rb
lookbook-0.5.0 config/routes.rb
lookbook-0.5.0.beta.2 config/routes.rb
lookbook-0.5.0.beta.1 config/routes.rb
lookbook-0.5.0.beta.0 config/routes.rb
lookbook-0.4.8 config/routes.rb
lookbook-0.4.7 config/routes.rb
lookbook-0.4.6 config/routes.rb
lookbook-0.4.5 config/routes.rb
lookbook-0.4.4 config/routes.rb
lookbook-0.4.3 config/routes.rb
lookbook-0.4.2 config/routes.rb
lookbook-0.4.1 config/routes.rb
lookbook-0.3.5 config/routes.rb
lookbook-0.4.0.beta.2 config/routes.rb
lookbook-0.4.0.beta.1 config/routes.rb
lookbook-0.3.4 config/routes.rb