clean up whitespace from project
This commit is contained in:
parent
415eddaf39
commit
368deb5992
50 changed files with 356 additions and 413 deletions
|
@ -11,7 +11,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def body_class(default_class = nil)
|
||||
main = content_for(:body_class).blank? ?
|
||||
main = content_for(:body_class).blank? ?
|
||||
default_class :
|
||||
content_for(:body_class)
|
||||
|
||||
|
@ -42,7 +42,7 @@ module ApplicationHelper
|
|||
else
|
||||
"Never"
|
||||
end
|
||||
rescue
|
||||
rescue
|
||||
"Never"
|
||||
end
|
||||
|
||||
|
|
|
@ -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