removed comments and Fixed Issue #184

This commit is contained in:
cktricky
2016-04-19 08:43:18 -04:00
parent fafe94b571
commit 7f5af27478
10 changed files with 2 additions and 72 deletions
-10
View File
@@ -7,14 +7,4 @@ class WorkInfoController < ApplicationController
end
end
=begin
# More secure version
def index
@user = current_user
if !(@user) || @user.admin
flash[:error] = "Apologies, looks like something went wrong"
redirect_to home_dashboard_index_path
end
end
=end
end