Created
June 3, 2014 12:49
-
-
Save umdstu/b4057ed3dfeecf7496e7 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
def link_to_presenter(label,options) | |
url = link_to_content(label,options) | |
link_to label, url | |
end |
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
2014-06-03 07:37:17 FATAL [work-mac] (69153:70237013883860) : [nil] | |
NoMethodError (undefined method `link_to' for #<ReportsController:0x007f2aef36ec0>): | |
app/helpers/application_helper.rb:213:in `link_to_presenter' | |
app/controllers/reports_controller.rb:249:in `block in query' | |
app/controllers/reports_controller.rb:244:in `each' | |
app/controllers/reports_controller.rb:244:in `query' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment