Sha256: d61ec0022b07d3b451f216b4900e90be34afe59fc3798f02ba339db4a38df34c

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 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
		  resources :posts
		end
		
    resources :settings
    resources :pictures
    resources :assets, :only => [:create, :destroy]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
freeberry-0.2.5 config/routes.rb