Fix path for new video when logged out (#15227)

* url fix for anons

* .

* remove button
This commit is contained in:
ludwiczakpawel 2021-10-29 15:22:45 +02:00 committed by GitHub
parent 785a97bd4d
commit f80d0bd69a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,6 @@
<main id="main-content" class="crayons-layout crayons-layout--header-inside">
<header class="crayons-page-header">
<h1 class="crayons-title"><%= t("views.videos.heading", community: community_name) %></h1>
<a class="crayons-btn crayons-btn--ghost" href="<%= new_video_path %>" data-no-instant> <%= t("dashboard.upload_a_video") %></a>
</header>
<div class="js-video-collection grid gap-2 m:gap-4 s:grid-cols-2 m:grid-cols-3 mb-6">
<% @video_articles.each do |video_article| %>