Sha256: 449efd6ba4f646dc254d715e983fe0b4f5b69e9ae6bc61e45c42493016484c39
Contents?: true
Size: 412 Bytes
Versions: 10
Compression:
Stored size: 412 Bytes
Contents
Blogelator::Engine.routes.draw do # Admin Routes with Ember.Router location: 'history' support get "/admin", to: "admin/posts#index" get "/admin/*path", to: "admin/posts#index" namespace :admin, path: "api" do resources :images resources :posts end # Public Routes resources :posts, path: "/" do get "/page/:page", action: "index", on: :collection end root to: "posts#index" end
Version data entries
10 entries across 10 versions & 1 rubygems