Add user block api call
This commit is contained in:
parent
fd20647320
commit
6569ed24e4
6 changed files with 202 additions and 4 deletions
|
@ -121,7 +121,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
resource :subscription, :only => [:create, :destroy], :controller => "note_subscriptions"
|
||||
end
|
||||
|
||||
resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks"
|
||||
resources :user_blocks, :only => [:show, :create], :id => /\d+/, :controller => "user_blocks"
|
||||
namespace :user_blocks, :path => "user/blocks" do
|
||||
resource :active_list, :path => "active", :only => :show
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue