Created
April 8, 2019 10:22
-
-
Save NaiyaShah-BTC/b0ca01b82a2a6a1658c82cf5f5fe642c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # bad | |
| params[:search_type].present? && params[:search_type] == 'Dashboard' | |
| # good | |
| params[:search_type] == 'Dashboard' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment