summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 6e435f2..ce39562 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -11,8 +11,13 @@ Rails.application.routes.draw do
put "users", to: "devise/registrations#update", as: "user_registration"
end
- resources :chat_messages, only: [:index, :create]
- resources :locations, only: [:index, :show]
+ get :look, to: "look#look"
+
+ resources :chat_messages, only: [:index, :create] do
+ collection do
+ get :list
+ end
+ end
resources :activities, only: [:index, :show] do
get :costs_and_requirements, on: :member
end