2018-05-02から1日間の記事一覧
- content_for :css do = stylesheet_link_tag 'posts/show' - content_for :js do = javascript_include_tag 'posts/show' Rails.application.config.assets.precompile += %w( posts/* ) ページ毎にcontent_forでレイアウトファイルに読み込ませる assets.…
- content_for :css do = stylesheet_link_tag 'posts/show' - content_for :js do = javascript_include_tag 'posts/show' Rails.application.config.assets.precompile += %w( posts/* ) ページ毎にcontent_forでレイアウトファイルに読み込ませる assets.…