summaryrefslogtreecommitdiff
path: root/app/controllers/look_controller.rb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-07-05 20:30:15 -0400
committerDavid Gay <david@davidgay.org>2021-07-05 20:30:15 -0400
commit28426519e11e72576b1a3339f47c420f9c184e49 (patch)
treeae92cce4888f8cbd038359902a6db6df557fe5cc /app/controllers/look_controller.rb
parentf160f81a6daae8b478a5547078abc7c7b29ef747 (diff)
Give characters a location, and replace the Locations view+controller with a Look view+controller
Diffstat (limited to 'app/controllers/look_controller.rb')
-rw-r--r--app/controllers/look_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/look_controller.rb b/app/controllers/look_controller.rb
new file mode 100644
index 0000000..e604670
--- /dev/null
+++ b/app/controllers/look_controller.rb
@@ -0,0 +1,5 @@
+class LookController < ApplicationController
+ def look
+ @location = current_char.location
+ end
+end