Skip to content

Commit

Permalink
update title of lessonplan page to the lessonplan title
Browse files Browse the repository at this point in the history
  • Loading branch information
zation committed Apr 27, 2013
1 parent ad90156 commit 74a55a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.haml
Expand Up @@ -3,7 +3,7 @@
%head
%meta{ :charset => "utf-8" }
%meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
%title 新的课堂
%title #{ @title ? @title : "新的课堂" }
= csrf_meta_tags

= stylesheet_link_tag "application", :media => "all"
Expand Down
1 change: 1 addition & 0 deletions app/views/lessonplans/show.html.haml
@@ -1,3 +1,4 @@
#{ @title = @lessonplan.title }
%nav.breadcrumb
%ul
%li
Expand Down

0 comments on commit 74a55a6

Please sign in to comment.