Skip to content

Commit

Permalink
Don't validate wiki page before showing the form to create it
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Apr 12, 2011
1 parent dac4113 commit c012cd0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ GEM
simple_autocomplete (0.3.8)
sitemap_generator (1.5.2)
spork (0.8.4)
state_machine (0.10.2)
state_machine (0.10.3)
subexec (0.0.4)
thin (1.2.11)
daemons (>= 1.0.9)
Expand Down
1 change: 0 additions & 1 deletion app/views/wiki_pages/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

= render "preview", :preview => @wiki_page if @preview_mode

- @wiki_page.valid?
= form_for @wiki_page do |form|
= messages_on_error @wiki_page
%p
Expand Down

0 comments on commit c012cd0

Please sign in to comment.