implement token bucket rate limiting
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class PostVotesController < ApplicationController
|
||||
before_filter :voter_only
|
||||
skip_before_filter :api_check
|
||||
|
||||
def create
|
||||
@post = Post.find(params[:post_id])
|
||||
|
||||
Reference in New Issue
Block a user