Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Wiki slug 需要处理 safe slug #174

Closed
huacnlee opened this Issue · 0 comments

1 participant

@huacnlee
Owner
Started GET "/wiki/recent" for 121.0.29.247 at 2012-01-09 09:49:33 +0800
  Processing by PagesController#recent as HTML
Rendered pages/_base.html.erb (0.9ms)
Rendered pages/recent.html.erb within layouts/application (2.3ms)
Completed 500 Internal Server Error in 14ms

ActionView::Template::Error (No route matches {:action=>"show", :controller=>"pages", :id=>"www.baidu.com"}):
    2: <div class="box">
    3:   <ul>
    4:   <% @pages.each do |item| %>
    5:     <li><%= page_title_tag(item) %></li>
    6:   <% end %>
    7:   </ul>
    8: </div>
  app/helpers/pages_helper.rb:5:in `page_title_tag'
  app/views/pages/recent.html.erb:5:in `block in _app_views_pages_recent_html_erb___2874243353550711744_42931020'
  app/views/pages/recent.html.erb:4:in `each'
  app/views/pages/recent.html.erb:4:in `_app_views_pages_recent_html_erb___2874243353550711744_42931020'
@huacnlee huacnlee closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.