Sha256: b66da2e4d8843a42ceb0088fa233a718860bd4c3c942af7bd322fd34ebc6000c
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
Ecrire::Theme::Engine.routes.draw do root 'posts#index' get '/:year/:month/:id', controller: :posts, action: :show, constraints: { year: /\d+/, month: /\d+/ }, as: "post" get '/feed', controller: :posts, action: :index, defaults: { format: :rss } resources :posts, only: [:index] resources :tags get '/:view', to: 'static#show' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecrire-0.24.1 | lib/ecrire/theme/template/routes.rb |
ecrire-0.24.0 | lib/ecrire/theme/template/routes.rb |