unable to find policy `User::GhostPolicy`
Processing by Person::HomeController#show as
Parameters: {"id"=>"test"}
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
Pundit::NotDefinedError (unable to find policy `User::GhostPolicy` for `#<User::Ghost id: 45, login: "test", email: nil, crypted_password: nil, salt: nil, created_at: nil, updated_at: nil, remember_token: nil, remember_token_expires_at: nil, display_name: nil, time_zone: nil, avatar_id: nil, last_seen_at: nil, version: nil, direct_group_id_cache: "", all_group_id_cache: "", friend_id_cache: "", foe_id_cache: "", peer_id_cache: "", tag_id_cache: "", language: nil, admin_for_group_id_cache: "", unverified: nil, receive_notifications: nil, type: "Ghost", password_digest: nil>`):
app/controllers/person/base_controller.rb:12:in `fetch_person'
app/controllers/dispatch_controller.rb:14:in `dispatch'
Edited by azul