summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-07-08 09:04:55 -0400
committerDavid Gay <david@davidgay.org>2021-07-08 09:04:55 -0400
commit1f991995fdaabb8115e68578611df20ffba4bbf9 (patch)
tree06c65f74398046338e69c83e68ef5a577098c30e
parentad8678409abc4e58db43fe5c3aacb07b40ff265c (diff)
Allow unauthenticated users to see the game clock
-rw-r--r--CHANGELOG.md3
-rw-r--r--app/controllers/clock_controller.rb2
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 222290b..4682cc9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file.
### Hearth
- Aetherloom level 2 now increases aetherweave speed by 4, similar to other level 2 amenities.
+### Fixes
+- Error causing infinite render when logged out.
+
## [0.1.13.2] - 2021-07-07
### Fixes
diff --git a/app/controllers/clock_controller.rb b/app/controllers/clock_controller.rb
index 13ae5e2..6f6c0d0 100644
--- a/app/controllers/clock_controller.rb
+++ b/app/controllers/clock_controller.rb
@@ -1,4 +1,6 @@
class ClockController < ApplicationController
+ skip_before_action :authenticate_user!
+
def clock
render partial: "clock"
end