Skip to content

Instantly share code, notes, and snippets.

@berellevy
Created October 25, 2020 21:02
Show Gist options
  • Save berellevy/df8ce4fedd00f707df734357f80660ce to your computer and use it in GitHub Desktop.
Save berellevy/df8ce4fedd00f707df734357f80660ce to your computer and use it in GitHub Desktop.
def index
feed = current_user.feed(params[:page_num].to_i)
render json: feed
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment