Navigate to examples instead of opening a new window

This commit is contained in:
Chris Eppstein 2010-04-25 00:11:28 -07:00
parent 090e9d0706
commit a09e143f72

View File

@ -11,7 +11,7 @@
- if (examples = examples(@item, mixin)).any? - if (examples = examples(@item, mixin)).any?
%dl.examples %dl.examples
- examples.each do |example| - examples.each do |example|
%dt= link_to example.item[:title], example, :target => "_blank" %dt= link_to example.item[:title], example
- if example.item[:description] - if example.item[:description]
%dd= example.item[:description] %dd= example.item[:description]
= mixin_source_dialog(mixin) do = mixin_source_dialog(mixin) do