Dienstag, 13. August 2013

Wicked and Redcarpet

Today I have learned Wicked with the Railscast for Wicked. For overriding the redirect_to_finish_wizard method, you should use a parameter.

def redirect_to_finish_wizard(options = nil)
    redirect_to root_path , notice: "Thank you for signing up."

end

Then I used Redcarpet. The code for Redcarpet in Railscast for Draper don't work with my code (perhaps different versions), so I followed the documentation in Gem Redcarpet.

Today has been an easy day.

Keine Kommentare:

Kommentar veröffentlichen