Skip to content

Commit

Permalink
better development handling in the badge
Browse files Browse the repository at this point in the history
  • Loading branch information
colinxfleming committed Dec 2, 2024
1 parent f70d634 commit 31fe5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/_navigation.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<nav class="navbar navbar-inverse fixed-top navbar-expand-lg">
<div class="navbar-header">
<%= link_to "DARIA - #{current_tenant.full_name}#{' - Development' if !Rails.env.production?}", root_path, class: 'navbar-brand' %>
<%= link_to "DARIA - #{current_tenant.full_name}#{' - Development' if Rails.env.development?}", root_path, class: 'navbar-brand' %>

<button type="button" class="navbar-toggler" data-toggle="collapse" data-target=".navbar-collapse" aria-label="Toggle navigation" aria-controls="navbar-collapse" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
Expand Down

0 comments on commit 31fe5d0

Please sign in to comment.