Can not browse project files
Created by: Andrepuel
I am having an issue browsing the files of a project.
When I open (for example), the project in3d/uml
in the files tab. The code loads a javascript code in3d/uml/refs/master/logs_tree/?_=1366661003595
. Which returns error 500.
My production log says:
ActionView::Template::Error (undefined method `committed_date' for nil:NilClass):
4:
5: :plain
6: var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");
7: row.find("td.tree_time_ago").html('#{escape_javascript time_ago_in_words(commit.committed_date)} ago');
8: row.find("td.tree_commit").html('#{escape_javascript render("tree/tree_commit_column", commit: commit)}');
app/views/refs/logs_tree.js.haml:7:in `block in _app_views_refs_logs_tree_js_haml__2165738030098632402_36915080'
app/views/refs/logs_tree.js.haml:1:in `each'
app/views/refs/logs_tree.js.haml:1:in `_app_views_refs_logs_tree_js_haml__2165738030098632402_36915080'
I am using the master
branch.