diff options
author | Azul <azul@leap.se> | 2014-04-08 14:22:56 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-04-08 14:30:07 +0200 |
commit | 9776dd10fc60efde38946588d0955c406f6c1f5e (patch) | |
tree | a77a83984e39a72cd1bb2f8f89c6d9646de117d7 /config/initializers/add_controller_methods.rb | |
parent | b6d14dc19dd350a807826e3e097738a36613e083 (diff) |
move users: config and lib
Diffstat (limited to 'config/initializers/add_controller_methods.rb')
-rw-r--r-- | config/initializers/add_controller_methods.rb | 4 |
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 |