move tag path to the appropriate helper
This commit is contained in:
parent
ac9afe0d14
commit
060a2e2257
3 changed files with 7 additions and 2 deletions
5
app/helpers/tags_helper.rb
Normal file
5
app/helpers/tags_helper.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
module TagsHelper
|
||||
def tag_path tag
|
||||
"/tags/#{tag}"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue