Skip to content

Add before_index proc so that it can be called every time index is hit#85

Open
boberetezeke wants to merge 1 commit intoruby-grape:masterfrom
boberetezeke:master
Open

Add before_index proc so that it can be called every time index is hit#85
boberetezeke wants to merge 1 commit intoruby-grape:masterfrom
boberetezeke:master

Conversation

@boberetezeke
Copy link
Copy Markdown

I needed a hook so that I could create an oauth token based on the logged in user

@grape-bot
Copy link
Copy Markdown

2 Warnings
⚠️ There’re library changes, but not tests. That’s OK as long as you’re refactoring existing code.
⚠️ Unless you’re refactoring existing code, please update CHANGELOG.md.

Here's an example of a CHANGELOG.md entry:

* [#85](https://github.com/ruby-grape/grape-swagger-rails/pull/85): Add before_index proc so that it can be called every time index is hit - [@boberetezeke](https://github.com/boberetezeke).

Generated by 🚫 danger

@dblock
Copy link
Copy Markdown
Member

dblock commented Dec 8, 2017

This needs doc, tests and a passing build please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants