Sha256: 3c03c0359570fc45f099e5ec31d8fefb0db6a19ade0644262439013792cd7e9b

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 Bytes

Contents

Rails.application.routes.draw do
  # Administration System
  namespace :manage do
    root :to => "structures#index"
    
	  resources :users do
	    member do
        post :activate, :suspend, :unsuspend, :unlock
      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

4 entries across 4 versions & 1 rubygems

Version Path
sunrise-core-0.2.2 config/routes.rb
sunrise-core-0.2.1 config/routes.rb
sunrise-core-0.2.0 config/routes.rb
sunrise-core-0.1.5 config/routes.rb