Closed yamadagenki closed 7 years ago
Hi, thank you for your contribution. I'm so sorry but I can't merge your pull request, because I don't think your use case is so common. You can override RailsAmp's rails_amp_amphtml_link_tag helper or create other helper in your own library (e.g. rails_project/lib/rails_amp_extension). I want to focus the core functions and the common use cases in this RailsAmp gem. I would appriciate your understanding. 🙏
😢
I rethink about this problem.
"slash_trailing" option is included in Ruby On Rails default routing options. I think this option is common usage, and rails_amp gem should support it.
And from SEO point of view, I think it is an important option. https://webmasters.googleblog.com/2010/04/to-slash-or-not-to-slash.html
So please, reconsider about this pull request.
Thanks,
hi, I add trailing slash option to rails_amp_amphtml_link_tag.
The usage is written in README.md.
Please check it.
Thanks,