Method: Graphql::Dashboard::Installable#check_installed

Defined in:
lib/graphql/dashboard/installable.rb

#check_installedObject



13
14
15
16
17
18
19
# File 'lib/graphql/dashboard/installable.rb', line 13

def check_installed
  if !feature_installed?
    @component_header_html = self.class::INSTALLABLE_COMPONENT_HEADER_HTML
    @component_message_html = self.class::INSTALLABLE_COMPONENT_MESSAGE_HTML
    render "graphql/dashboard/not_installed"
  end
end