# encoding: utf-8 require 'rubyXL' class CancerpredictsController < ApplicationController before_filter :set_I18n before_action ->(module_app = @app_title) { set_variables module_app } #before_action :load_access_levels def initialize super @app_title = "cancerpredict" end def index uid = OrbitHelper.params[:uid] rescue "" tags = OrbitHelper.widget_tags categories = OrbitHelper.widget_categories || [] locale = OrbitHelper.get_site_locale.to_s end def widget uid = OrbitHelper.params[:uid] rescue "" tags = OrbitHelper.widget_tags categories = OrbitHelper.widget_categories || [] locale = OrbitHelper.get_site_locale.to_s end def set_I18n I18n.locale = params[:lang] if params[:lang].present? end end