def theme_exists

      if !Dir.exists?("app/views/themes/#{Setting.get('theme_folder')}/")
        html = "<div class='alert alert-danger'><strong>" + I18n.t("helpers.admin_roroa_helper.theme_exists.warning") + "!</strong> " + I18n.t("helpers.admin_roroa_helper.theme_exists.message") + "!</div>"
        render :inline => html.html_safe
      end

    end
def theme_exists

      if !Dir.exists?("app/views/themes/#{Setting.get('theme_folder')}/")
        html = "<div class='alert alert-danger'><strong>" + I18n.t("helpers.admin_roroa_helper.theme_exists.warning") + "!</strong> " + I18n.t("helpers.admin_roroa_helper.theme_exists.message") + "!</div>"
        render :inline => html.html_safe
      end

    end
checks if the current theme being used actually exists. If not it will return an error message to the user