Sha256: e50053215f70406320d30de2e73e8f90cc0b89d5b81f5571e7fad39f744f3cab

Contents?: true

Size: 1.12 KB

Versions: 34

Compression:

Stored size: 1.12 KB

Contents

Rails.application.routes.draw do
  
  # management
  match 'manage'                                => 'management/default#index'
  match 'manage/login'                          => 'management/user#login'
  match 'manage/logout'                         => 'management/user#logout'
  match 'manage/user(/:action(/:id))'           => 'management/user'
  
  match 'manage/cms/preview_template'           => 'cms/content#preview_template'
  match 'manage/cms(/:action(/:id))'            => 'management/cms'
  
  # slowly convert to resourceful routes
  # match 'manage/users(/:action(/:id))'          => 'management/users'
  resources :users, :path => 'manage/users', :controller => 'management/users' do
      member do
        post :enable
        post :disable
        post :edit     # COMPAT: Remove for 3.1
      end
    end
  # end
  
  match 'util/date_picker'                      => 'util#date_picker', :as => :date_picker
  
  # primary CMS content routes
  root :to => 'cms/content#show'
  match 'rss/:page_id/:page_list_name'          => 'cms/content#rss_feed'
  match '*content_path'                         => 'cms/content#show'
  
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
imagine_cms-3.0.33 config/routes.rb
imagine_cms-3.0.32 config/routes.rb
imagine_cms-3.0.31 config/routes.rb
imagine_cms-3.0.30 config/routes.rb
imagine_cms-3.0.29 config/routes.rb
imagine_cms-3.0.28 config/routes.rb
imagine_cms-3.0.27 config/routes.rb
imagine_cms-3.0.26 config/routes.rb
imagine_cms-3.0.25 config/routes.rb
imagine_cms-3.0.24 config/routes.rb
imagine_cms-3.0.23.1 config/routes.rb
imagine_cms-3.0.23 config/routes.rb
imagine_cms-3.0.22 config/routes.rb
imagine_cms-3.0.21 config/routes.rb
imagine_cms-3.0.20 config/routes.rb
imagine_cms-3.0.19 config/routes.rb
imagine_cms-3.0.18 config/routes.rb
imagine_cms-3.0.17 config/routes.rb
imagine_cms-3.0.16 config/routes.rb
imagine_cms-3.0.15 config/routes.rb