<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hkob</author_name>
  <author_url>https://blog.hatena.ne.jp/hkob/</author_url>
  <blog_title>hkob’s blog</blog_title>
  <blog_url>https://hkob.hatenablog.com/</blog_url>
  <categories>
    <anon>開発記録</anon>
  </categories>
  <description>現在のシステムで各ページが誰に見えているのかがわからないという問い合わせが多かった。今回は、コントローラに定数を記述し、それを確認することで権限を一元管理することにしている。前回、せっかくパンくずリストを表示したので、この部分に権限を表示することにした。 navi_link_bar の修正 前回 = navi [ @title ] と書いてもよいことにしたが、こちらは通常通り = navi [ nil, teacher_kyoumus_path ] と書くことにする。これをうけて、app/views/shared/_navi_link_bar.html.haml の該当部は以下のように修正した…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhkob.hatenablog.com%2Fentry%2F20150203%2F1422967899&quot; title=&quot; 25. パンくずリストへの権限の描画 - hkob’s blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hkob/20150203/20150203214753.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-02-03 21:51:39</published>
  <title> 25. パンくずリストへの権限の描画</title>
  <type>rich</type>
  <url>https://hkob.hatenablog.com/entry/20150203/1422967899</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
