added more editing paths

This commit is contained in:
Tyrel Souza 2014-05-14 14:30:17 -04:00
parent 176611b9fd
commit b54bbe6168
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<h1>Users</h1>
<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">
<thead>
<tr>

View File

@ -1,5 +1,5 @@
Vidpush::Application.routes.draw do
resources :accounts, :controller => "accounts", path: "accounts", model: :users
resources :accounts, :controller => "accounts", path: "accounts"
devise_for :admins
devise_for :users

View File

@ -97,8 +97,8 @@ ActiveRecord::Schema.define(version: 20140505153412) do
t.string "authentication_token"
end
add_index "accounts", ["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", ["email"], name: "index_users_on_email", 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|
t.string "videocode"