- resources :users, :path => "user", :param => :display_name, :only => [:show, :destroy]
+ get "/user/terms", :to => redirect(:path => "/account/terms")
+ resources :users, :path => "user", :param => :display_name, :only => [:new, :create, :show, :destroy] do
+ resource :role, :controller => "user_roles", :path => "roles/:role", :only => [:create, :destroy]
+ scope :module => :users do
+ resource :issued_blocks, :path => "blocks_by", :only => :show
+ resource :received_blocks, :path => "blocks", :only => [:show, :edit, :destroy]
+ end
+ end