Sha256: b94bbec94ec6837aa528d21a845849b78904af12a523ed41154fade152999d4d

Contents?: true

Size: 238 Bytes

Versions: 75

Compression:

Stored size: 238 Bytes

Contents

class PagesController < ApplicationController
  def about_us
    @pulitzer_post = Pulitzer::PostType.named('About us').singleton_post
  end

  def news_posts
    @pulitzer_posts = Pulitzer::PostType.named('News articles').posts
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
pulitzer-0.5.9 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.8 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.7 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.6 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.5 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.4 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.3 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.16 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.15 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.14 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.13 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.12 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.11 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.10 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.9 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.8 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.7 spec/dummy/app/controllers/pages_controller.rb