Sha256: b2e95d3f9b9847e0446ee13832322c7ede4bb7f322222be1872cb54ff8c4d9ed
Contents?: true
Size: 425 Bytes
Versions: 40
Compression:
Stored size: 425 Bytes
Contents
Ecrire::Theme::Engine.post_path = '/:post.year/:post.month/:post.slug/' 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
40 entries across 20 versions & 1 rubygems