Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:LYK-Ruby-On-Rails/les-etoiles in…
Browse files Browse the repository at this point in the history
…to develop

Conflicts:
	db/schema.rb
  • Loading branch information
boraozturk committed Aug 30, 2013
2 parents ac006db + af6be4c commit 14326a7
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
/.idea
.idea/
/output_file
/report.html
Binary file added app/assets/images/star_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions app/views/home/admin.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@
= link_to 'Destroy', profile.user, :method => :delete, :data => { :confirm => 'Are you sure?' }

%br

= link_to 'New User', new_user_path
2 changes: 1 addition & 1 deletion app/views/layouts/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<li class="active"><%= link_to "Admin Anasayfa", root_path %> </li>
<li><%= link_to('Logout', destroy_admin_session_path, :method => :delete, class: "btn btn-danger") %></li>
</ul>
<h3 class="text-muted"><%= link_to 'Les etoiles', root_path %></h3>
<h3 class="text-muted"> <%= image_tag("star_red.png") %> <%= link_to('Les etoiles', root_path) %></h3>
</div>
<%= render "layouts/notification" %>
<%= yield %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<li> <%= link_to('Teacher Login', new_teacher_session_path) %></li>
<li> <%= link_to('Student Login', new_user_session_path) %> </li>
</ul>
<h3 class="text-muted"> <%= link_to('Les etoiles', root_path) %></h3>
<h3 class="text-muted"> <%= image_tag("star_red.png") %> <%= link_to('Les etoiles', root_path) %></h3>
</div>
<%= render "layouts/notification" %>
<%= yield %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/teacher.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<li class="active"><%= link_to "Öğretmen Anasayfa", root_path %> </li>
<li><%= link_to('Logout', destroy_teacher_session_path, :method => :delete, class: "btn btn-danger") %></li>
</ul>
<h3 class="text-muted"> <%= link_to('Les etoiles', root_path) %></h3>
<h3 class="text-muted"> <%= image_tag("star_red.png") %> <%= link_to('Les etoiles', root_path) %></h3>
</div>
<%= render "layouts/notification" %>
<%= yield %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/user.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<li class="active"><%= link_to "Kullanıcı Anasayfa", root_path %> </li>
<li><%= link_to('Logout', destroy_user_session_path, :method => :delete, class: "btn btn-danger") %></li>
</ul>
<h3 class="text-muted"> <%= link_to('Les etoiles', root_path) %></h3>
<h3 class="text-muted"> <%= image_tag("star_red.png") %> <%= link_to('Les etoiles', root_path) %></h3>
</div>
<%= render "layouts/notification" %>
<%= yield %>
Expand Down
4 changes: 0 additions & 4 deletions app/views/users/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@
<% end %>
</tbody>
</table>

<br>

<%= link_to 'New User', new_user_path %>
4 changes: 2 additions & 2 deletions app/views/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h1>
<%= "User Show" %>
<div class="pull-right">
<%= link_to 'Edit', edit_user_path(@user) %>
<%= link_to 'Back', users_path %>
<%= link_to 'Edit', edit_user_path(@user), class: "btn btn-primary" %>
<%= link_to 'Back', users_path, class: "btn btn-primary" %>
</div>
</h1>
</div>
Expand Down
9 changes: 6 additions & 3 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ test:
timeout: 5000

production:
adapter: sqlite3
database: db/production.sqlite3
adapter: postgresql
encoding: unicode
database: les_etoiles_production
pool: 5
timeout: 5000
username: user
password: 12345678
host: localhost

0 comments on commit 14326a7

Please sign in to comment.