概要
自ページの場合はリンクを無効化する
内容
自ページの場合はリンクを無効化します
link_to_unless_current(リンク文字列, url [, オプション, HTMLオプション])
サンプル
-if @menu_display = link_to_unless_current '新規登録', :controller => 'user', :action => 'new' = link_to_unless_current 'ユーザー管理', :controller => 'user', :action => 'list' = link_to 'サインアウト', :controller => 'signin', :action => 'signout'