Sha256: d47ab9dcb33ec87c8647de0a8407607c06cb823d81d09779429568f4af6da154

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

Alfa::Router.draw do
  route '/' => 'main#index', :layout => :index
  route '/:action', :controller => :main, :layout => :internal
  route '/:controller', action: :index, layout: :internal
  route '/:controller/:action', :layout => :internal
  route '/:controller/:action/:id', :layout => :internal
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alfa-0.0.8.pre test/data/test_router/2/apps/frontend/routes.rb
alfa-0.0.7.pre test/data/test_router/2/apps/frontend/routes.rb
alfa-0.0.6.pre test/data/test_router/2/apps/frontend/routes.rb