Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33bcf8b
commit 9fb5185
Showing
12 changed files
with
141 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.2.2 | ||
2.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<% if user_signed_in? %> | ||
<li><%= link_to 'Edit account', edit_user_registration_path %></li> | ||
<li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li> | ||
<% else %> | ||
<li><%= link_to 'Sign in', new_user_session_path %></li> | ||
<li><%= link_to 'Sign up', new_user_registration_path %></li> | ||
<% end %> | ||
<% if user_signed_in? %> | ||
<% if current_user.try(:admin?) %> | ||
<li><%= link_to 'Users', users_path %></li> | ||
<% end %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
<%# add navigation links to this file %> | ||
<% if user_signed_in? %> | ||
<li><%= link_to 'Edit account', edit_user_registration_path %></li> | ||
<li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li> | ||
<% else %> | ||
<li><%= link_to 'Sign in', new_user_session_path %></li> | ||
<li><%= link_to 'Sign up', new_user_registration_path %></li> | ||
<% end %> | ||
<% if user_signed_in? %> | ||
<% if current_user.try(:admin?) %> | ||
<li><%= link_to 'Users', users_path %></li> | ||
<% end %> | ||
<% end %> | ||
<li><%= link_to 'About', page_path('about') %></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<% content_for :title do %>About<% end %> | ||
<h3>About the Website</h3> | ||
<p> | ||
This web application was created with | ||
<%= link_to('Rails Composer', 'http://railsapps.github.io/rails-composer/') %> | ||
from the <%= link_to('RailsApps project', 'http://railsapps.github.io/') %>. | ||
</p> |
Oops, something went wrong.