clean up whitespace from project
This commit is contained in:
parent
415eddaf39
commit
368deb5992
50 changed files with 356 additions and 413 deletions
|
@ -4,7 +4,7 @@ module DashboardHelper
|
|||
when "Issue" then project_issue_path(project, project.issues.find(object.id))
|
||||
when "Grit::Commit" then project_commit_path(project, project.repo.commits(object.id).first)
|
||||
when "Note"
|
||||
then
|
||||
then
|
||||
note = object
|
||||
case note.noteable_type
|
||||
when "Issue" then project_issue_path(project, note.noteable_id)
|
||||
|
@ -12,9 +12,9 @@ module DashboardHelper
|
|||
when "Commit" then project_commit_path(project, :id => note.noteable_id)
|
||||
else wall_project_path(project)
|
||||
end
|
||||
else wall_project_path(project)
|
||||
else wall_project_path(project)
|
||||
end
|
||||
rescue
|
||||
rescue
|
||||
"#"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue