app/views/layouts/binda/application.html.erb in binda-0.1.3 vs app/views/layouts/binda/application.html.erb in binda-0.1.4
- old
+ new
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
- <title>Binda CMS -- <%= controller_name.capitalize %> <%= action_name.capitalize %></title>
+ <title>Binda CMS -- <%= yield :title %></title>
<%= csrf_meta_tags %>
<link href="https://fonts.googleapis.com/css?family=Work+Sans:300,600" rel="stylesheet">
<%= stylesheet_link_tag "binda/application", media: "all" %>