diff options
| author | mo khan <mo@mokhan.ca> | 2016-12-03 22:16:06 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-12-03 22:16:06 -0700 |
| commit | b7a8c1d2e03ebbbbfd50813c050aa594aaf8018a (patch) | |
| tree | 83f06e0a5b92e5ab4ead68a10b88258d055fe86a /app/controllers/api/controller.rb | |
| parent | e4738829abdcf571f9a2d2437ebc35164ea126c3 (diff) | |
add workouts api.
Diffstat (limited to 'app/controllers/api/controller.rb')
| -rw-r--r-- | app/controllers/api/controller.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/api/controller.rb b/app/controllers/api/controller.rb index 993526d..6c90721 100644 --- a/app/controllers/api/controller.rb +++ b/app/controllers/api/controller.rb @@ -2,4 +2,10 @@ class Api::Controller < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :null_session + + def current_session + end + + def current_user + end end |
