Project

General

Profile

Revision e6eb1c48

Added by Dmitri Dolguikh over 8 years ago

fixes #8033: container power on/off redirects to container view now

View differences:

app/views/containers/show.html.erb
47 47
              <td><%= _('Environment Variables') %></td>
48 48
              <td>
49 49
                <table id="environment_variables" class="table table-bordered" style="table-layout:fixed; word-wrap: break-word">
50
                  <% @container.in_fog.attributes['config_env'].each do |environment_variable| %>
50
                  <% (@container.in_fog.attributes['config_env'] || []).each do |environment_variable| %>
51 51
                  <% pair = environment_variable.split("=") %>
52 52
                    <tr>
53 53
                      <td><b><%= pair.first %></b></td>

Also available in: Unified diff