Sha256: 560c681418a2ec563de11ce46a0d725de6788a9bc225793aedca0c957d403850

Contents?: true

Size: 212 Bytes

Versions: 5

Compression:

Stored size: 212 Bytes

Contents

module Pulitzer
  module ControllerHelpers
    def pulitzer_view_path(version_number)
      File.join Pulitzer.public_controller,
        action_name,
        "v_#{version_number.to_s}.html.erb"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pulitzer-0.15.4 lib/pulitzer/controller_helpers.rb
pulitzer-0.15.3 lib/pulitzer/controller_helpers.rb
pulitzer-0.15.2 lib/pulitzer/controller_helpers.rb
pulitzer-0.15.1 lib/pulitzer/controller_helpers.rb
pulitzer-0.15.0 lib/pulitzer/controller_helpers.rb