浏览代码

Change Logo with Application Name (#33)

Change Logo with Application Name
darkrubyist 6 年之前
父节点
当前提交
4a733a8a88
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/views/shared/_navbar.html.erb

+ 1 - 1
app/views/shared/_navbar.html.erb

@@ -7,7 +7,7 @@
 
 <nav class="navbar navbar-expand-md navbar-light bg-light">
   <div class="container">
-    <%= link_to "Jumpstart", root_path, class: "navbar-brand" %>
+    <%= link_to Rails.configuration.application_name, root_path, class: "navbar-brand" %>
 
     <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMain" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
       <span class="navbar-toggler-icon"></span>