This question is locked. New answers and comments are not allowed.
I specify a folder for uploading images to a server by creating a class:
And faced with a problem - when I press the "Insert Image" button I get the error: "A directory with this name was not found.". I guess it's because my View lies in Areas, so there is no treatment for this class. What I need to do? :C
public
class
ImageBrowserController : EditorFileBrowserController
{
public
override
string
[] ContentPaths
{
get
{
return
new
[] {
"~/Content/Upload"
};
}
}
}