Update to rte embed stuff following Shannons comments

This commit is contained in:
Tim Geyssens
2013-09-16 10:05:33 +02:00
parent b6d00cca63
commit ecbaa94ab5
4 changed files with 7 additions and 6 deletions

View File

@@ -6,19 +6,20 @@ using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using Umbraco.Core.Configuration;
using Umbraco.Web.Editors;
using Umbraco.Web.Mvc;
using Umbraco.Web.WebApi.Filters;
using Constants = Umbraco.Core.Constants;
using Umbraco.Core.Media;
using System.IO;
namespace Umbraco.Web.Editors
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// A controller used for the embed dialog
/// </summary>
[PluginController("UmbracoApi")]
public class EmbedController : UmbracoAuthorizedJsonController
public class RteEmbedController : UmbracoAuthorizedJsonController
{
public Result Embed(string url, int width, int height)
{

View File

@@ -304,7 +304,7 @@
<Compile Include="Editors\DashboardController.cs" />
<Compile Include="Editors\DataTypeController.cs" />
<Compile Include="Editors\DataTypeValidateAttribute.cs" />
<Compile Include="Editors\EmbedController.cs" />
<Compile Include="PropertyEditors\RteEmbedController.cs" />
<Compile Include="Editors\EntityController.cs" />
<Compile Include="Editors\MediaPostValidateAttribute.cs" />
<Compile Include="Editors\MemberController.cs" />