1. Ruby / Говнокод #8330

    −96

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    <% if request.url.to_s.include? "pages/advantages"%>
        <%= render :partial => 'includes/buttondown' %>
      <% end %>
      <% if request.url.to_s.include? "pages/business-subscription"%>
        <%= render :partial => 'includes/buttondown' %>
      <% end %>
       <% if request.url.to_s.include? "pages/connect"%>
        <%= render :partial => 'includes/buttondown' %>
      <% end %>
       <% if request.url.to_s.include? "reservation/new"%>
        <%= render :partial => 'includes/buttondown' %>
      <% end %>
       <% if request.url.to_s.include? "pages/magazines"%>
        <%= render :partial => 'includes/buttondown' %>
      <% end %>
       <% if request.url.to_s.include? "pages/equipments"%>
        <%= render :partial => 'includes/buttondown' %>
      <% end %>

    Нету слов.

    Запостил: super_p, 28 Октября 2011

    Комментарии (10) RSS

    Добавить комментарий