[logaling-commit] logaling/logaling-server [merge-add-user-authentication] Add /dashboard

Zurück zum Archiv-Index

SHIMADA Koji null+****@clear*****
Wed Sep 5 13:33:17 JST 2012


SHIMADA Koji	2012-09-05 13:33:17 +0900 (Wed, 05 Sep 2012)

  New Revision: 92813390017d2d121b2ddf2b3e7827a2b352d1e6
  https://github.com/logaling/logaling-server/commit/92813390017d2d121b2ddf2b3e7827a2b352d1e6

  Merged 111235b: Merge branch 'add-user-authentication' into merge-add-user-authentication

  Log:
    Add /dashboard

  Added files:
    app/controllers/dashboard_controller.rb
    app/views/dashboard/show.html.haml
  Modified files:
    config/routes.rb

  Added: app/controllers/dashboard_controller.rb (+4 -0) 100644
===================================================================
--- /dev/null
+++ app/controllers/dashboard_controller.rb    2012-09-05 13:33:17 +0900 (b5083b3)
@@ -0,0 +1,4 @@
+class DashboardController < ApplicationController
+  def show
+  end
+end

  Added: app/views/dashboard/show.html.haml (+0 -0) 100644
===================================================================
--- /dev/null
+++ app/views/dashboard/show.html.haml    2012-09-05 13:33:17 +0900 (e69de29)

  Modified: config/routes.rb (+1 -0)
===================================================================
--- config/routes.rb    2012-09-05 13:31:25 +0900 (9da7faf)
+++ config/routes.rb    2012-09-05 13:33:17 +0900 (8aaef36)
@@ -15,6 +15,7 @@ LogalingServer::Application.routes.draw do
   match '/auth/:provider/callback', to: 'sessions#create'
   match '/auth/failure', to: 'sessions#failure'
   match "/signout" => "sessions#destroy", :as => :signout
+  match "/dashboard" => "dashboard#show", :as => :dashboard
 
   root :to => 'top#index'
 end
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Zurück zum Archiv-Index