Closed GoogleCodeExporter closed 9 years ago
This is not a complete fix. Navigate to:
http://localhost:3000/store/show_by_tags/
--or--
http://localhost:3000/store/show_by_tags
Original comment by patrickb...@gmail.com
on 10 Jun 2008 at 8:02
if @tag_names.empty?
redirect_to :controller => 'homepage', :action => 'index' and return false
else
for name in @tag_names
temp_tag = Tag.find_by_name(name)
if temp_tag then
tag_ids_array << temp_tag.id
else
flash[:notice] = "Sorry, we couldn't find the tag #{name} you were looking
for."
redirect_to :controller => 'homepage', :action => 'index' and return false
end
end
end
Original comment by patrickb...@gmail.com
on 10 Jun 2008 at 9:05
thanks. fixed.
Original comment by edmundo...@gmail.com
on 10 Jun 2008 at 9:59
Attachments:
Thanks for the heads up. Fixed in r91, but instead of using a flash I'm
rendering a 404 page, which is the
expected behavior for things of this nature.
No reason to reinvent the wheel ;)
Original comment by subim...@gmail.com
on 15 Jun 2008 at 5:18
Original issue reported on code.google.com by
edmundo...@gmail.com
on 10 Jun 2008 at 1:46Attachments: