Sha256: 029e19197b2571f713242839ece5f78c03157d7c4161977c7e105189e2616284

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

# -*- encoding : utf-8 -*-
module RademadeAdmin
  class DashboardController < RademadeAdmin::AbstractController

    skip_before_action :require_login, :only => [:login]

    def index

    end

    def login
      redirect_to :action => 'index' if admin_logged_in?
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rademade_admin-0.1.3 app/controllers/rademade_admin/dashboard_controller.rb
rademade_admin-0.1.2 app/controllers/rademade_admin/dashboard_controller.rb
rademade_admin-0.1.1 app/controllers/rademade_admin/dashboard_controller.rb
rademade_admin-0.1.0 app/controllers/rademade_admin/dashboard_controller.rb