diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 3154105b5..e04472d8e 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -84,7 +84,6 @@ jobs: bundle exec rake data:migrate bundle exec rails assets:precompile bundle exec rails test test/* - yarn test - name: Save coverage run: ./cc-test-reporter format-coverage --output coverage/codeclimate.${{ matrix.ruby }}.json diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index a23febbbb..c6efe8d81 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -87,7 +87,7 @@ def update def destroy respond_to do |format| if @user.deletable? && @user.destroy! - format.html { redirect_to :root, notice: notification_for_delete(@user) } + format.html { redirect_to root_path, notice: notification_for_delete(@user) } else format.html { redirect_to user_path(@user.uuid), notice: notification_for_delete(@user) } end diff --git a/app/views/auctions/_auction.html.erb b/app/views/auctions/_auction.html.erb index 8c38da037..44e112854 100644 --- a/app/views/auctions/_auction.html.erb +++ b/app/views/auctions/_auction.html.erb @@ -1,7 +1,7 @@ <% english_auction_presenter = EnglishBidsPresenter.new(auction) %> - <%= link_to auction_path(auction.uuid) do %> + <%= link_to auction_path(auction.uuid), target: '_top' do %> <%= domain_name_with_embedded_colors(auction.domain_name) %> <% end %> diff --git a/app/views/common/_header.html.erb b/app/views/common/_header.html.erb index 4a71daf60..954e4f318 100644 --- a/app/views/common/_header.html.erb +++ b/app/views/common/_header.html.erb @@ -32,11 +32,11 @@