Public project activity page asks for sign-in

This commit is contained in:
Valery Sizov 2015-07-20 13:54:56 +03:00
parent 2940263aac
commit c61e7dd4ac

View file

@ -1,6 +1,6 @@
class ProjectsController < ApplicationController class ProjectsController < ApplicationController
prepend_before_filter :render_go_import, only: [:show] prepend_before_filter :render_go_import, only: [:show]
skip_before_action :authenticate_user!, only: [:show] skip_before_action :authenticate_user!, only: [:show, :activity]
before_action :project, except: [:new, :create] before_action :project, except: [:new, :create]
before_action :repository, except: [:new, :create] before_action :repository, except: [:new, :create]