summaryrefslogtreecommitdiffstats
path: root/app/controllers/welcome_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/welcome_controller.rb')
-rw-r--r--app/controllers/welcome_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb
index e526fe5b1..0807c8232 100644
--- a/app/controllers/welcome_controller.rb
+++ b/app/controllers/welcome_controller.rb
@@ -20,6 +20,8 @@
class WelcomeController < ApplicationController
self.main_menu = false
+ skip_before_action :check_if_login_required, only: [:robots]
+
def index
@news = News.latest User.current
end