Sha256: 794a2c9059c972a4437e861c3e963c048b109d4f5bace71707a9cab423efacd2

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

SedgeCms::Engine.routes.draw do
  get 'sedge' => 'application#dashboard'
  namespace :sedge_api do
    get 'layouts' => 'layouts#index'

    get 'pages' => 'pages#pages'
    get 'snippets' => 'pages#snippets'

    get 'summernotes' => 'locales#index'
    put 'summernotes' => 'locales#update'

    get 'commits' => 'git#index'

    get '/page_options/cms/pages/*path' => "page_options#index"
  end
  get '/templates/*path' => "application#templates"
  get '/cms/pages/*path' => "pages#edit"
  get '*path' => 'pages#show'
  match '*unmatched_route', :to => 'application#raise_not_found!', :via => :all
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sedge_cms-0.0.1 config/routes.rb