-
- Downloads
Relax constraints for wiki slug
Since GitHub doesn’t apply these constraints to theirs wiki slug allowing characters like `,`, `:`, `*`, etc, we need to relax our constraints or some wiki pages will not be available after they were imported. For an example the Devise project have a wiki page with the following slug: “How To: Add sign_in, sign_out, and sign_up links to your layout template”
Showing
- app/assets/javascripts/wikis.js.coffee 17 additions, 12 deletionsapp/assets/javascripts/wikis.js.coffee
- app/models/wiki_page.rb 1 addition, 1 deletionapp/models/wiki_page.rb
- app/views/projects/wikis/_new.html.haml 4 additions, 7 deletionsapp/views/projects/wikis/_new.html.haml
- config/routes.rb 1 addition, 1 deletionconfig/routes.rb
- features/project/wiki.feature 0 additions, 5 deletionsfeatures/project/wiki.feature
- features/steps/project/wiki.rb 0 additions, 10 deletionsfeatures/steps/project/wiki.rb
Please register or sign in to comment