Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6000

Closed
Open
Created Jan 07, 2014 by Administrator@rootOwner

Readme breaks file view

Created by: pduersteler

gitlab 6.4.3

On every project I've put a Readme.rdoc, when clicking on "Files" in the repository view, I get

Processing by Projects::TreeController#show as HTML
Parameters: {"project_id"=>"notionlab/amailing", "id"=>"master"}
Rendered shared/_ref_switcher.html.haml (2.1ms)
Rendered projects/tree/_tree_item.html.haml (8.9ms)
Rendered projects/tree/_blob_item.html.haml (5.1ms)
Rendered projects/tree/_readme.html.haml (1.0ms)
Rendered projects/tree/_tree.html.haml (22.9ms)
Rendered projects/tree/show.html.haml within layouts/projects (81.9ms)
Completed 500 Internal Server Error in 231ms

ActionView::Template::Error (wrong number of arguments (0 for 1..2)):
  10:       %pre.clean
  11:         = readme.data
  12:     - else
  13:       = raw GitHub::Markup.render(readme.name, readme.data)
app/views/projects/tree/_readme.html.haml:13:in `_app_views_projects_tree__readme_html_haml__2628903950413234801_69817202331840'
app/views/projects/tree/_tree.html.haml:49:in `_app_views_projects_tree__tree_html_haml___471559983386736599_69817200675040'
app/views/projects/tree/show.html.haml:4:in `_app_views_projects_tree_show_html_haml__1229040012632706926_69817200380560'
app/controllers/projects/tree_controller.rb:6:in `show'
app/controllers/application_controller.rb:57:in `set_current_user_for_thread'
Assignee
Assign to
Time tracking