projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c22b1
)
Removed unused link_to_page from the trace helpers
author
Tom Hughes
<tom@compton.nu>
Fri, 30 Sep 2011 13:08:22 +0000
(14:08 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 14 Nov 2011 09:42:55 +0000
(09:42 +0000)
It was unused, and clashed link_to_page in the browser helpers as
apparently all helpers are loaded into all views...
app/helpers/trace_helper.rb
patch
|
blob
|
history
diff --git
a/app/helpers/trace_helper.rb
b/app/helpers/trace_helper.rb
index e5397b0de244528212e8e38b34c7e59c7ae70156..3922ce2b335e483af82af455710a7f445f0935b1 100644
(file)
--- a/
app/helpers/trace_helper.rb
+++ b/
app/helpers/trace_helper.rb
@@
-6,12
+6,4
@@
module TraceHelper
return link_to(tag, :tag => tag, :display_name => @display_name, :page => nil)
end
end
-
- def link_to_page(page)
- if @action == "mine"
- return link_to(page, :tag => @tag, :page => page)
- else
- return link_to(page, :tag => @tag, :display_name => @display_name, :page => page)
- end
- end
end