remove refresh on specific pages and change join form

This commit is contained in:
Zachary Chai
2016-11-01 17:04:57 -04:00
parent bef04f0465
commit 7da04d3334
4 changed files with 32 additions and 12 deletions

View File

@ -15,7 +15,7 @@ class LandingController < ApplicationController
end
def admin?
@user == current_user
@user && @user == current_user
end
helper_method :admin?