config/routes.rb in pwb-0.0.2 vs config/routes.rb in pwb-0.1.0

- old
+ new

@@ -57,9 +57,24 @@ jsonapi_resources :props end end authenticate :user do + namespace :import do + get "/mls_experiment" => "mls#experiment" + get "/mls" => "mls#retrieve" + post "/properties/retrieve_from_pwb" => "properties#retrieve_from_pwb" + post "/properties/retrieve_from_mls" => "properties#retrieve_from_mls" + post "/translations" => "translations#multiple" + post "/web_contents" => "web_contents#multiple" + end + namespace :export do + get "/translations/all" => "translations#all" + get "/web_contents/all" => "web_contents#all" + get "/website/all" => "website#all" + get "/properties" => "properties#all" + end + namespace :api do namespace :v1 do get "/translations/list/:locale" => "translations#list"