README.md in so_meta-0.3 vs README.md in so_meta-0.4
- old
+ new
@@ -33,15 +33,18 @@
pages: # Controller name - PagesController
about: # Action name - about
title: "About | My Awesome New Rails Application"
description: "Our company will blow your mind...like really."
- pages-subresource: # Controller name - Pages::SubresourceController
+ pages_subresource: # Controller name - Pages::SubresourceController
about: # Action name - about
title: "About | My Awesome New Rails Application"
description: "Our company will blow your mind...like really."
+ iphone:
+ title: "iPhone About | My Awesome New Rails Application"
+
contact:
title: "Contact %{name} | My Awesome New Rails Application" # Interpolation content from the view
# By not specifying a description for this page, it'll inherit the defaults
```
@@ -49,10 +52,10 @@
<!-- views/layouts/application.html.erb -->
<!DOCTYPE html>
<html lang="en">
<head>
- <title><%= so_meta(:title) %></title>
+ <title><%= so_meta(:title, :iphone) %></title>
<meta name="description" content="<%= so_meta(:description) %>" />
<%= csrf_meta_tags %>
</head>
<body>
</body>