Change admin master layout file from index.php to index-admin.php Master layout index.php should be used by note controller.