alno/irwi — Issue #31: /wiki/new - Wrong number of Args (3 of 2)
Author: BunnyBacon
Created: 2012-02-21 22:42:01+00:00
State: open

Having a bit of trouble applying the gem to my App. I set everything up and ran the script. Everything was pretty much in place from the beginning, so there was really no need for any configurations; however, when I go to my "/wiki" location and then try to start a new page to be the homepage I get an error. Here is the output:

wrong number of arguments (3 for 2)

Extracted source (around line #5):

2:
3:

<%=wt 'Creating a new wiki page' %>

4:
5: <% wiki_page_form do |f| %>
6: <%= f.hidden_field :previous_version_number, :value => f.object.last_version_number %>
7:
8:

<%=wt 'Title:' %>
<%= f.text_field :title %>

Is there anything that I might be doing wrong? Or maybe some kind of configuration that I needed and missed? Thanks,