summaryrefslogtreecommitdiff
path: root/config/initializers/add_controller_methods.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/add_controller_methods.rb')
-rw-r--r--config/initializers/add_controller_methods.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/add_controller_methods.rb b/config/initializers/add_controller_methods.rb
new file mode 100644
index 0000000..f572ecb
--- /dev/null
+++ b/config/initializers/add_controller_methods.rb
@@ -0,0 +1,4 @@
+ActiveSupport.on_load(:application_controller) do
+ include ControllerExtension::Authentication
+ include ControllerExtension::TokenAuthentication
+end