jgbailey
2/2/2007 7:20:00 PM
On 2/2/07, David Heacock <deheacock@earthlink.net> wrote:
> <%= if @member_pages.each
> link_to 'Go to page >', { :page => ()}
> end
> %>
>
> I get an error "no block given"
You have a basic syntax error - missing the "do" keyword:
> <%= if @member_pages.each do
> link_to 'Go to page >', { :page => ()}
> end
> %>