profile scaffold
This commit is contained in:
16
app/controllers/admin/profile_controller.rb
Normal file
16
app/controllers/admin/profile_controller.rb
Normal file
@ -0,0 +1,16 @@
|
||||
module Admin
|
||||
class ProfileController < ApplicationController
|
||||
def view
|
||||
end
|
||||
|
||||
def edit
|
||||
end
|
||||
|
||||
def update
|
||||
redirect_to admin_profile_path
|
||||
end
|
||||
|
||||
def lost_password
|
||||
end
|
||||
end
|
||||
end
|
2
app/views/admin/profile/edit.html.erb
Normal file
2
app/views/admin/profile/edit.html.erb
Normal file
@ -0,0 +1,2 @@
|
||||
<h1>Admin::Profile#edit</h1>
|
||||
<p>Find me in app/views/admin/profile/edit.html.erb</p>
|
2
app/views/admin/profile/lost_password.html.erb
Normal file
2
app/views/admin/profile/lost_password.html.erb
Normal file
@ -0,0 +1,2 @@
|
||||
<h1>Admin::Profile#lost_password</h1>
|
||||
<p>Find me in app/views/admin/profile/lost_password.html.erb</p>
|
2
app/views/admin/profile/view.html.erb
Normal file
2
app/views/admin/profile/view.html.erb
Normal file
@ -0,0 +1,2 @@
|
||||
<h1>Admin::Profile#view</h1>
|
||||
<p>Find me in app/views/admin/profile/view.html.erb</p>
|
Reference in New Issue
Block a user