Commit 8e979f81 by tady

tagページのURL encodeバグ修正

parent b5768e55
...@@ -15,15 +15,15 @@ class TagDecorator < Draper::Decorator ...@@ -15,15 +15,15 @@ class TagDecorator < Draper::Decorator
# tagページのURL # tagページのURL
# urlエンコードを施す # urlエンコードを施す
def show_path def show_path
h.tag_path(name: h.url_encode(model.name)) h.tag_path(name: model.name)
end end
def edit_path def edit_path
h.edit_tag_path(name: h.url_encode(model.name)) h.edit_tag_path(name: model.name)
end end
def event_tag_path def event_tag_path
h.event_tag_path(name: h.url_encode(model.name)) h.event_tag_path(name: model.name)
end end
# tagをtree viewで表示する # tagをtree viewで表示する
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment