app/views/index.erb in tailog-0.1.5 vs app/views/index.erb in tailog-0.1.6

- old
+ new

@@ -56,9 +56,11 @@ </div><!--/.container-fluid --> </nav> <% begin %> + <% raise RuntimeError, "Tailog.log_path is not present!" unless Tailog.log_path %> + <% if params[:file] %> <% file_path = File.join Tailog.log_path, params[:file] %> <h3 class="page-header monospace"><%= file_path %></h3> <% File.open file_path do |file| %>