Created
November 5, 2017 17:02
-
-
Save domagude/62135da61a3bb0408c5ea57159bdbca9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_posts | |
PostsForBranchService.new({ | |
search: params[:search], | |
category: params[:category], | |
branch: params[:action] | |
}).call | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment