2012-07-30から1日間の記事一覧
前に調べたことあったけど、また調べてしまったのでメモ。 <%= link_to 'リンク', {:controller => 'hoge', :action => 'hoge_action', :id => hoge.id, :anchor => 'anchor_tag'} これで、 http://hogehoge/~~~/hoge#anchor_tagといった感じのアドレスが作…
前に調べたことあったけど、また調べてしまったのでメモ。 <%= link_to 'リンク', {:controller => 'hoge', :action => 'hoge_action', :id => hoge.id, :anchor => 'anchor_tag'} これで、 http://hogehoge/~~~/hoge#anchor_tagといった感じのアドレスが作…