Sha256: 104cf066a35c4a7b408f12e1f79e60b888125515ef3b04679a47d9a4cf09d73a

Contents?: true

Size: 470 Bytes

Versions: 5

Compression:

Stored size: 470 Bytes

Contents

Rails.application.routes.draw do
  # Administration System
  namespace :manage do
    root :to => "structures#index"
    
	  resources :users do
	    member do
        post :activate, :suspend, :register, :delete, :unsuspend
      end
	  end
		
		resources :structures do
		  get :move, :on => :member
		  
		  resource :page
		end
		
		resources :assets, :only => [:create, :destroy] do
      post :sort, :on => :collection
    end
		
    resources :settings
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sunrise-core-0.1.4 config/routes.rb
sunrise-core-0.1.3 config/routes.rb
sunrise-core-0.1.2 config/routes.rb
sunrise-core-0.1.1 config/routes.rb
sunrise-core-0.1.0 config/routes.rb