mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
fix for creste dir error message
This commit is contained in:
parent
d2e2dd3482
commit
20f3e34d9c
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ post '/site/create_directory' do
|
|||
result = current_site.create_directory path
|
||||
|
||||
if result != true
|
||||
flash[:error] = e.message
|
||||
flash[:error] = result
|
||||
end
|
||||
|
||||
redirect "/dashboard?dir=#{Rack::Utils.escape params[:dir]}"
|
||||
|
|
Loading…
Add table
Reference in a new issue