saberma/shopqi — Issue #339: 主题商店的链接要加no-ref
Author: saberma
Created: 2011-12-06 07:46:31+00:00
State: open
Labels: 主题, 生产环境, 缺陷

拒绝搜索引擎收录

链接地址未经过handlerbar处理的，搜索引擎直接访问会报错:

```ruby
Started GET "/themes/%7B%7B%7Bhandle%7D%7D%7D/styles/%7B%7B%7Bstyle_handle%7D%7D%7D" for 203.208.60.181 at 2011-12-06 11:43:25 +0800
Processing by Theme::ThemesController#show as */*
Parameters: {"handle"=>"{{{handle}}}", "style_handle"=>"{{{style_handle}}}"}
Completed 500 Internal Server Error in 2ms

NoMethodError (undefined method `attributes' for nil:NilClass):
app/controllers/theme/themes_controller.rb:31:in `show'
```