We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0195aa3 commit addbc30Copy full SHA for addbc30
lib/roda/plugins/redirect_path.rb
@@ -25,12 +25,12 @@ module RodaPlugins
25
# route do |r|
26
# r.get "example" do
27
# # redirects to /foo/1
28
- # redirect(foo)
+ # r.redirect(foo)
29
# end
30
#
31
# r.get "suffix-example" do
32
# # redirects to /foo/1/status
33
- # redirect(foo, "/status")
+ # r.redirect(foo, "/status")
34
35
36
module RedirectPath
0 commit comments