Sha256: 689322d137485f8d5cbfe09226cc92058d8ed42c958c987b976036c5b6bf068a

Contents?: true

Size: 630 Bytes

Versions: 6

Compression:

Stored size: 630 Bytes

Contents

Refinery::Core::Engine.routes.draw do
  filter(:refinery_locales) if defined?(RoutingFilter::RefineryLocales) # optionally use i18n.
  get 'wymiframe(/:id)', :to => 'fast#wymiframe', :as => :wymiframe
  get "#{Refinery::Core.backend_route}/message", :to => 'fast#message', :as => :message

  namespace :admin, :path => Refinery::Core.backend_route do
    root :to => 'dashboard#index'
    resources :dialogs, :only => [:index, :show]
  end

  post "/#{Refinery::Core.backend_route}/update_menu_positions", :to => 'admin/core#update_plugin_positions'

  get '/sitemap.xml' => 'sitemap#index', :defaults => { :format => 'xml' }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-core-2.1.5 config/routes.rb
refinerycms-core-2.1.4 config/routes.rb
refinerycms-core-2.1.3 config/routes.rb
refinerycms-core-2.1.2 config/routes.rb
refinerycms-core-2.1.1 config/routes.rb
refinerycms-core-2.1.0 config/routes.rb