diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-12 12:05:57 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-12 12:06:42 +0300 |
commit | 6186ac2c3d0db6932993ac681cbed6f453499503 (patch) | |
tree | 920460fa029d473888f8081250f00c0e8fb5031a /app/serializers/request_aware_entity.rb | |
parent | 7748282996d7754a342b5956b1a277a54a9b26f5 (diff) |
Expose created_at and updated_at in pipeline entity
Diffstat (limited to 'app/serializers/request_aware_entity.rb')
-rw-r--r-- | app/serializers/request_aware_entity.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/serializers/request_aware_entity.rb b/app/serializers/request_aware_entity.rb index 7a096d9d5a8..e159d750cb7 100644 --- a/app/serializers/request_aware_entity.rb +++ b/app/serializers/request_aware_entity.rb @@ -9,10 +9,6 @@ module RequestAwareEntity @options.fetch(:request) end - def current_user - @options.fetch(:current_user) - end - def can?(object, action, subject) Ability.allowed?(object, action, subject) end |