<commit_before><div align="center">
<h1>Access Denied</h1>

<div style = "font-size:12px;">
<% if @appconfig.login_options.include?('built-in') %>
Maybe you want to <%= link_to "try", login_path %> to log in with built in notification? 
<% end %>
<br>
<% if current_user && current_user.departments %>
Maybe you want to go <%= link_to "here", department_path(current_user.departments.first)%>?<br>
If you think you are redirected here wrongly, please contact the application administrator at <%= "#{AppConfig.first.admin_email}"%>.</br>
<% end %>
</br>
</div>
</div>


<commit_msg>Added a different redirect in the layouts<commit_after><div align="center">
<h1>Access Denied</h1>

<div style = "font-size:12px;">
<% if @appconfig.login_options.include?('built-in') %>
Maybe you want to <%= link_to "try", login_path %> to log in with built in notification? 
<% end %>
<br>
<% if current_user && current_user.departments %>
Maybe you want to go <%= link_to "here", dashboard_path %>?<br>
If you think you are redirected here wrongly, please contact the application administrator at <%= "#{AppConfig.first.admin_email}"%>.</br>
<% end %>
</br>
</div>
</div>



{'fraction_non_alphanumeric': 0.17098445595854922, 'fraction_numerical': 0.0069084628670120895, 'mean_word_length': 5.368131868131868, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4427300', 'n_tokens_mistral': 418, 'n_tokens_neox': 372, 'n_words': 117}