Okechi Onyeje 86e1dace76 subdomain routing now working to route application to proper app.
- This will need to revamped later on to potentially have a rack app serving the different rails applications and static website.
2017-04-16 16:40:25 -04:00

23 lines
734 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title><%= (request.subdomain == '') ? 'IVAUSA' : request.subdomain.humanize %> </title>
<%= csrf_meta_tags %>
<%= javascript_include_tag "application", "data-turbolinks-track" => false %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<% if notice %>
<p class="alert alert-success" align="center"><%= notice %></p>
<% end %>
<% if alert %>
<p class="alert alert-danger" align="center"><%= alert %></p>
<% end %>
</head>
<body>
<%= yield %>
<!-- <%= debug(params) if Rails.env.development? %> -->
</body>
</html>