added more editing paths
This commit is contained in:
parent
176611b9fd
commit
b54bbe6168
@ -1,6 +1,6 @@
|
|||||||
<h1>Users</h1>
|
<h1>Users</h1>
|
||||||
<hr>
|
<hr>
|
||||||
<p>To edit your own user, use the Profile Option.</p>
|
<p>To edit your own user, use the Profile Option. To change your admin password, visit the <%= link_to "admin profile edit page", edit_admin_registration_path %>.</p>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Vidpush::Application.routes.draw do
|
Vidpush::Application.routes.draw do
|
||||||
resources :accounts, :controller => "accounts", path: "accounts", model: :users
|
resources :accounts, :controller => "accounts", path: "accounts"
|
||||||
|
|
||||||
devise_for :admins
|
devise_for :admins
|
||||||
devise_for :users
|
devise_for :users
|
||||||
|
@ -97,8 +97,8 @@ ActiveRecord::Schema.define(version: 20140505153412) do
|
|||||||
t.string "authentication_token"
|
t.string "authentication_token"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "accounts", ["email"], name: "index_users_on_email", unique: true, using: :btree
|
add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
|
||||||
add_index "accounts", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree
|
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree
|
||||||
|
|
||||||
create_table "videolistings", force: true do |t|
|
create_table "videolistings", force: true do |t|
|
||||||
t.string "videocode"
|
t.string "videocode"
|
||||||
|
Loading…
Reference in New Issue
Block a user