mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 11:58:28 +02:00
fix for tag error message, clean up dialog
This commit is contained in:
parent
0bb6774473
commit
0b14ff9d68
2 changed files with 1 additions and 3 deletions
|
@ -5,7 +5,7 @@ post '/tags/add' do
|
|||
if current_site.valid?
|
||||
current_site.save_tags
|
||||
else
|
||||
flash[:errors] = current_site.errors.first
|
||||
flash[:errors] = current_site.errors.first.last.first
|
||||
end
|
||||
|
||||
redirect request.referer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue