Commit 60dbc4f6 authored by Jacob Schatz's avatar Jacob Schatz

Removes `defined?` in favor to just `if`

parent ecbb8d73
...@@ -37,6 +37,6 @@ ...@@ -37,6 +37,6 @@
%h1.title= title %h1.title= title
= render 'shared/outdated_browser' = render 'shared/outdated_browser'
-if defined?(@project) -if @project
:javascript :javascript
var findFileURL = '#{namespace_project_find_file_path(@project.namespace, @project, @ref || @project.repository.root_ref)}'; var findFileURL = '#{namespace_project_find_file_path(@project.namespace, @project, @ref || @project.repository.root_ref)}';
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment