mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix bug for missing site
This commit is contained in:
parent
81ae359ec0
commit
1e59bab1eb
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
<% end %>
|
||||
|
||||
<% if events.empty? %>
|
||||
<% if current_site && site.owned_by?(parent_site) %>
|
||||
<% if current_site && defined?(site) && site.owned_by?(parent_site) %>
|
||||
<p>
|
||||
No feed news yet, you should <a href="/dashboard">update your site</a>!
|
||||
</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue