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.1.10 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.9 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.8 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.7 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.6 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.5 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.4 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.3 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.2 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.1 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.1.0 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.0.5 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.0.4 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.0.3 test/dummy/app/controllers/pages_controller.rb
pulitzer-0.0.2 test/dummy/app/controllers/pages_controller.rb