Skip to content

Commit

Permalink
Merge pull request #10 from marekswiecznik/patch-1
Browse files Browse the repository at this point in the history
ReSetting::ARTIFACT_TYPES clone
  • Loading branch information
tmerten committed Feb 1, 2016
2 parents 1ab9c6c + c5037f5 commit 1408705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/controllers/re_settings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def initialize_artifact_order(project_id)
# Put it into the empty configured_artifact_types array
configured_artifact_types.concat(stored_settings) if stored_settings

all_artifact_types = ReSetting::ARTIFACT_TYPES
all_artifact_types = ReSetting::ARTIFACT_TYPES.clone
all_artifact_types.delete_if { |v| configured_artifact_types.include? v }
configured_artifact_types.concat(all_artifact_types)

Expand Down Expand Up @@ -210,4 +210,4 @@ def save_user_config

end

end
end
2 changes: 1 addition & 1 deletion assets/stylesheets/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ a.icon {
background-repeat: no-repeat !important;
}

.project {
.re_project {
background: url(../images/icons/group_gear.png);
}

Expand Down

0 comments on commit 1408705

Please sign in to comment.