diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index 1adf228..08272ed 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -1,18 +1,11 @@ class StaticPagesController < ApplicationController - before_filter :check_access, only: [:weigh_in] def not_allowed end - private - def check_access - if params[:tournament] - @tournament = Tournament.find(params[:tournament]) - if current_user != @tournament.user - redirect_to '/static_pages/not_allowed' - end - end + def about + end end diff --git a/app/views/static_pages/about.html.erb b/app/views/static_pages/about.html.erb new file mode 100644 index 0000000..73d1c14 --- /dev/null +++ b/app/views/static_pages/about.html.erb @@ -0,0 +1,2 @@ +
WrestlingDev was created to help bring wrestling into the 21st century for free. This site is open source and is supported by the ads on the sidebar.
\ No newline at end of file