mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix text editing title
This commit is contained in:
parent
7178fb34e6
commit
055cbf7ab5
1 changed files with 3 additions and 0 deletions
|
@ -180,6 +180,9 @@ get %r{\/site_files\/text_editor\/(.+)} do
|
||||||
flash[:error] = 'Cannot edit a directory.'
|
flash[:error] = 'Cannot edit a directory.'
|
||||||
redirect '/dashboard'
|
redirect '/dashboard'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@title = "Editing #{@filename}"
|
||||||
|
|
||||||
erb :'site_files/text_editor'
|
erb :'site_files/text_editor'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue