forked from External/greenlight
remove refresh on specific pages and change join form
This commit is contained in:
@ -15,7 +15,7 @@ class LandingController < ApplicationController
|
||||
end
|
||||
|
||||
def admin?
|
||||
@user == current_user
|
||||
@user && @user == current_user
|
||||
end
|
||||
helper_method :admin?
|
||||
|
||||
|
Reference in New Issue
Block a user