diff --git a/app/controllers/boards_controller.rb b/app/controllers/boards_controller.rb index 152926e48..b5e0b2d85 100644 --- a/app/controllers/boards_controller.rb +++ b/app/controllers/boards_controller.rb @@ -29,7 +29,7 @@ class BoardsController < ApplicationController def index @boards = @project.boards.includes(:last_message => :author).all - @boards = [] << @boards[0] + @boards = [] << @boards[0] if @boards.any? if @boards.size == 1 @board = @boards.first show and return diff --git a/app/views/tags/_tag.html.erb b/app/views/tags/_tag.html.erb index 9597afc0b..6370e8dee 100644 --- a/app/views/tags/_tag.html.erb +++ b/app/views/tags/_tag.html.erb @@ -2,7 +2,7 @@ <% if object_flag == '3' %> - <%= image_tag("/images/sidebTar/tags.png") %> + <%= image_tag("/images/sidebar/tags.png") %> <%= l(:label_tag) %>: <% if User.current.logged? %> <%= toggle_link (image_tag "/images/sidebar/add.png"), 'put-tag-form-issue', {:focus => 'name-issue'} %>