Skip to content

Commit

Permalink
Merge pull request #511 from itscoretf/ozfortress
Browse files Browse the repository at this point in the history
Forgot the route, sorry dev :/
  • Loading branch information
BenjaminSchaaf authored Apr 27, 2022
2 parents b0d9fa6 + 0354960 commit c01daca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/application/_navbar.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
= link_to('Infractions', :infractions, class: 'dropdown-item')
= link_to('Staff', :staff, class: 'dropdown-item')
= link_to('Bans', :bans, class: 'dropdown-item')
= link_to('Anti-Cheat and You', :bans, class: 'dropdown-item')
= link_to('Anti-Cheat and You', :anticheat_and_you, class: 'dropdown-item')

%li.nav-item.dropdown
%a.nav-link.dropdown-toggle{ role: :button, data: { toggle: :dropdown } }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- content_for(:title) { 'Anti-Cheat and You' }

-# rubocop:disable Rails/OutputSafety
= raw File.read(Rails.root.join('public', 'anticheat.html.txt'))
= raw File.read(Rails.root.join('public', 'anticheat_and_you.html.txt'))
-# rubocop:enable Rails/OutputSafety
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
get 'rules', to: 'pages#rules'
get 'staff', to: 'pages#staff'
get 'bans', to: 'pages#bans'
get 'anticheat_and_you', to: 'pages#anticheat_and_you'
get 'server_configs', to: 'pages#server_configs'
get 'book_server', to: 'pages#book_server'
get 'transfers', to: 'pages#transfers'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="doc" class="markdown-body container-fluid comment-enabled" data-hard-breaks="true">
<object data="https://imconnor.xyz/downloads/OZF_Anticheat_and_You.pdf" type="application/pdf" width="100%" height="100%">
<embed src="https://imconnor.xyz/downloads/OZF_Anticheat_and_You.pdf" type="application/pdf" width="100%" height="100%" />
<object data="https://imconnor.xyz/downloads/OZF_Anticheat_and_You.pdf" type="application/pdf" width="100%" height="700">
<embed src="https://imconnor.xyz/downloads/OZF_Anticheat_and_You.pdf" type="application/pdf" width="100%" height="700" />
</object>
</div>

0 comments on commit c01daca

Please sign in to comment.