1
0
mirror of https://github.com/fspc/bike-database.git synced 2025-02-23 09:33:23 -05:00

Louis | Change copy to make actions more clear

This commit is contained in:
Loos 2014-09-23 21:23:32 -04:00
parent 5bfe7365ae
commit f033485c48
4 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,4 @@
class StaticPagesController < ApplicationController
before_action :authenticate_user!
def home; end
end

View File

@ -11,8 +11,6 @@
<div class="navbar-collapse collapse navbar-responsive-collapse" id='collapse-1'>
<ul class="nav navbar-nav navbar-right">
<li><%= link_to "Bikes", bikes_path %></li>
<li><%= link_to "Clients", clients_path %></li>
<li><%= if current_user
link_to "Sign Out", destroy_user_session_path, method: :delete
else

View File

@ -5,10 +5,10 @@
- else
= link_to "Sign in", new_user_session_path
%br
= link_to "Bikes", bikes_path
= link_to "View All Bikes", bikes_path
%br
= link_to "Clients", clients_path
= link_to "Freecyclery Clients", clients_path
%br
= link_to "Print Bikes", print_select_bikes_path
= link_to "Print Sale Bike Labels", print_select_bikes_path
%br
= link_to "Agencies", agencies_path
= link_to "Freecyclery Agencies", agencies_path

View File

@ -43,7 +43,7 @@ namespace :db do
mechanic: Faker::Name.first_name
}
end
puts "creating a new user"
user = User.new(email: "user@example.com", password: "password").save