Sha256: f000b91dfa401ffc93cd82568ef9da7f6686ece91377db7b59a3564a4eee39b8

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

class MainController < Controller

  def index
    return unless login_required

    external_ip_fallback = '<span class="none">none</span>'
    @external_ip = (APP_CONFIG['info']['external_ip2'] || external_ip_fallback) rescue external_ip_fallback
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ts-admin-0.2.0 controller/main.rb