My attempt to rewrite the rules in routes.rb might be self-explanatory:
match “/:user/: photo-thumb.png” =>
redirect(“/%{user}/photos/%{photo}/image?style=thumb”),
:photo => /[a-zA- Z]+/ I
My attempt to rewrite the rules in routes.rb might be self-explanatory:
match “/:user/: photo-thumb.png” =>
redirect(“/%{user}/photos/%{photo}/image?style=thumb”),
:photo => /[a-zA- Z]+/ I