Skip to content

Commit addbc30

Browse files
committed
Fix typo in redirect_path plugin example code
1 parent 0195aa3 commit addbc30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/roda/plugins/redirect_path.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ module RodaPlugins
2525
# route do |r|
2626
# r.get "example" do
2727
# # redirects to /foo/1
28-
# redirect(foo)
28+
# r.redirect(foo)
2929
# end
3030
#
3131
# r.get "suffix-example" do
3232
# # redirects to /foo/1/status
33-
# redirect(foo, "/status")
33+
# r.redirect(foo, "/status")
3434
# end
3535
# end
3636
module RedirectPath

0 commit comments

Comments
 (0)