admin interface generation
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
module Admin
|
||||
class AuthController < AdminController
|
||||
def login
|
||||
end
|
||||
|
||||
def auth
|
||||
end
|
||||
|
||||
def logout
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
module Admin
|
||||
class QuestionController < AdminController
|
||||
def index
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def create
|
||||
end
|
||||
|
||||
def view
|
||||
end
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
module Admin
|
||||
class QuizController < AdminController
|
||||
def index
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def create
|
||||
end
|
||||
|
||||
def view
|
||||
end
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
module Admin
|
||||
class UserController < AdminController
|
||||
def index
|
||||
end
|
||||
|
||||
def new
|
||||
end
|
||||
|
||||
def create
|
||||
end
|
||||
|
||||
def view
|
||||
end
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
class AdminController < ApplicationController
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Auth#login</h1>
|
||||
<p>Find me in app/views/admin/auth/login.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Auth#logout</h1>
|
||||
<p>Find me in app/views/admin/auth/logout.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Questions#edit</h1>
|
||||
<p>Find me in app/views/admin/questions/edit.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Questions#index</h1>
|
||||
<p>Find me in app/views/admin/questions/index.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Questions#new</h1>
|
||||
<p>Find me in app/views/admin/questions/new.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Questions#view</h1>
|
||||
<p>Find me in app/views/admin/questions/view.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Quizes#edit</h1>
|
||||
<p>Find me in app/views/admin/quizes/edit.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Quizes#index</h1>
|
||||
<p>Find me in app/views/admin/quizes/index.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Quizes#new</h1>
|
||||
<p>Find me in app/views/admin/quizes/new.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Quizes#view</h1>
|
||||
<p>Find me in app/views/admin/quizes/view.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Users#edit</h1>
|
||||
<p>Find me in app/views/admin/users/edit.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Users#index</h1>
|
||||
<p>Find me in app/views/admin/users/index.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Users#new</h1>
|
||||
<p>Find me in app/views/admin/users/new.html.erb</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::Users#view</h1>
|
||||
<p>Find me in app/views/admin/users/view.html.erb</p>
|
||||
Reference in New Issue
Block a user