gemart
gemart

Reputation: 376

Adding Helper Rails Methods to a Directory

I've created a pdfs directory in app/ for invoices and purchase orders (I'm using prawn). Naturally, I want the NumberHelper to be available. Whats the best way to do this?

Upvotes: 1

Views: 49

Answers (1)

sandro d.
sandro d.

Reputation: 156

You could

include ActionView::Helpers::NumberHelper

in the classes you use to generate the pdfs

Upvotes: 1

Related Questions