summaryrefslogtreecommitdiff
path: root/projects/3/example/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-01-12 19:49:28 -0700
committermo khan <mo@mokhan.ca>2025-01-12 19:49:28 -0700
commit98aa588670539dd7ee5720973f5c16f03af245da (patch)
tree8f37b8055eca8595cd1bf6ee71859d1e5676b5c7 /projects/3/example/app/controllers/application_controller.rb
parent1c6426eed6d9d53c7ec535fa7f5c84e9759985df (diff)
initial commit
Diffstat (limited to 'projects/3/example/app/controllers/application_controller.rb')
-rw-r--r--projects/3/example/app/controllers/application_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/3/example/app/controllers/application_controller.rb b/projects/3/example/app/controllers/application_controller.rb
new file mode 100644
index 0000000..0d95db2
--- /dev/null
+++ b/projects/3/example/app/controllers/application_controller.rb
@@ -0,0 +1,4 @@
+class ApplicationController < ActionController::Base
+ # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
+ allow_browser versions: :modern
+end