we are going to fix this by automatically generating data for ppl that register HOWEVER, just in case that fails for some reason, I have applied a filter that ensures if some data is not associated with a person they cannot navigate to all aspects of the application. This is a preventive measure
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class AdminController < ApplicationController
|
||||
|
||||
skip_before_filter :has_info
|
||||
|
||||
def dashboard
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user