tootlab-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 Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
authorization.rb Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
export_controller_concern.rb Remove exports/base controller in favor of shared concern (#3444) 2017-05-30 19:06:01 +02:00
localized.rb Fix Rubocop offences (#2630) 2017-05-01 16:31:02 +02:00
obfuscate_filename.rb Remove methods from ObfuscateFilename and spec (#3347) 2017-05-29 18:14:16 +02:00
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 Extract user tracking into concern (#2600) 2017-04-30 00:28:16 +02:00