Public Instance methods
redirect(path=default_redirect_path, status=default_redirect_status)
[show source]
# File lib/roda/plugins/redirect_path.rb 42 def redirect(path=default_redirect_path, status=default_redirect_status) 43 if String === path 44 super 45 else 46 path = scope.path(path) 47 if status.is_a?(String) 48 super(path + status) 49 else 50 super 51 end 52 end 53 end