This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/controllers/concerns
Matt Jankowski f0634ba876 Coverage improvement and concern extraction for rate limit headers in API controller (#3625)
* Coverage for rate limit headers

* Move rate limit headers methods to concern

* Move throttle check to condition on before_action

* Move match_data variable into method

* Move utc timestamp to separate method

* Move header setting into smaller methods

* specs cleanup
2017-06-07 17:23:26 +02:00
..
account_controller_concern.rb
authorization.rb
export_controller_concern.rb
localized.rb
obfuscate_filename.rb
rate_limit_headers.rb Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
user_tracking_concern.rb