Commit Graph

55 Commits (ae39bed95b973c822e732b31b5e821dbd2447cd6)

Author SHA1 Message Date
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
9 years ago
Matt Jankowski 0ebe7d6d23 Remove exports/base controller in favor of shared concern (#3444) 9 years ago
Akihiko Odaki 922fb74197 Remove methods from ObfuscateFilename and spec (#3347)
* Remove methods from ObfuscateFilename

* Spec ObfuscateFilename
9 years ago
Akihiko Odaki 11e5c965c3 Spec AccountControllerConcern (#3349) 9 years ago
Matt Jankowski fdcf884cf7 Extract user tracking into concern (#2600) 9 years ago