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.13.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.12.5 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.13.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.12.4 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.12.3 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.12.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.12.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.12.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.11.3 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.11.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.11.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.11.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.10.3 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.10.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.10.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.10.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.14 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.13 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.11 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.5.10 spec/dummy/app/controllers/pages_controller.rb