<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pospome</author_name>
  <author_url>https://blog.hatena.ne.jp/pospome/</author_url>
  <blog_title>pospomeのプログラミング日記</blog_title>
  <blog_url>https://www.pospome.work/</blog_url>
  <categories>
    <anon>CakePHP2.x</anon>
  </categories>
  <description>エラーページなど、他のControllerで共通で使うページがある場合の使い回しについて 今更ながら気づいた。同一ActionでViewを切り替えるときには $this-&gt;render() を使う。 今までは $this-&gt;render('error'); のように指定していた。 こうすると、Controller に紐づく View の error.ctp が表示される。エラーページなどレイアウトが同じで表示させるメッセージだけ違う場合、 テキトーに View ディレクトリを作ってそこに View を保存すればいいのでは・・・。Controller とか関係なく、 Commons という Vi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pospome.work%2Fentry%2F20130902%2F1378117463&quot; title=&quot;【CakePHP 2.x】Viewを使いまわす - pospomeのプログラミング日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-09-02 19:24:23</published>
  <title>【CakePHP 2.x】Viewを使いまわす</title>
  <type>rich</type>
  <url>https://www.pospome.work/entry/20130902/1378117463</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
