Created
March 28, 2019 09:02
-
-
Save MaryKuz/86502bb2764de394997486024aa84a88 to your computer and use it in GitHub Desktop.
Add code to ApplicationController
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
class ApplicationController < ActionController::Base | |
... | |
helper_method :resource, :collection | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment