diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-14 16:30:48 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-14 16:30:48 +0300 |
| commit | e7c930a55b9832a767bfb1a5e2a8add8f9e719f9 (patch) | |
| tree | 93f264dce4f668f21a9155229ab640f25282e810 /app/helpers/application_helper.rb | |
| parent | da98cebc5bd72f5cfc25c50fcaecbe952db5f3ed (diff) | |
| download | gitlab-ce-e7c930a55b9832a767bfb1a5e2a8add8f9e719f9.tar.gz | |
Add imported boolean to project. Prevent shell from creating repo after it was imported
Diffstat (limited to 'app/helpers/application_helper.rb')
| -rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 663a414fff2..a73d574f22e 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -142,7 +142,7 @@ module ApplicationHelper end def user_color_scheme_class - COLOR_SCHEMES[current_user.try(:color_scheme_id)] + COLOR_SCHEMES[current_user.try(:color_scheme_id)] if defined?(current_user) end # Define whenever show last push event |
