admin interface generation

This commit is contained in:
Mark Moser
2016-08-17 17:49:09 -05:00
parent 9e27ba379e
commit 6a3f652dd7
26 changed files with 268 additions and 0 deletions

View File

@ -0,0 +1,12 @@
module Admin
class AuthController < AdminController
def login
end
def auth
end
def logout
end
end
end

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,2 @@
class AdminController < ApplicationController
end

View File

@ -0,0 +1,2 @@
<h1>Admin::Auth#login</h1>
<p>Find me in app/views/admin/auth/login.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Auth#logout</h1>
<p>Find me in app/views/admin/auth/logout.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Questions#edit</h1>
<p>Find me in app/views/admin/questions/edit.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Questions#index</h1>
<p>Find me in app/views/admin/questions/index.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Questions#new</h1>
<p>Find me in app/views/admin/questions/new.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Questions#view</h1>
<p>Find me in app/views/admin/questions/view.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Quizes#edit</h1>
<p>Find me in app/views/admin/quizes/edit.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Quizes#index</h1>
<p>Find me in app/views/admin/quizes/index.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Quizes#new</h1>
<p>Find me in app/views/admin/quizes/new.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Quizes#view</h1>
<p>Find me in app/views/admin/quizes/view.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Users#edit</h1>
<p>Find me in app/views/admin/users/edit.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Users#index</h1>
<p>Find me in app/views/admin/users/index.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Users#new</h1>
<p>Find me in app/views/admin/users/new.html.erb</p>

View File

@ -0,0 +1,2 @@
<h1>Admin::Users#view</h1>
<p>Find me in app/views/admin/users/view.html.erb</p>