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.4.6 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.5 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.4 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.3 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.4.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.9 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.8 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.7 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.6 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.5 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.4 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.3 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.3.0 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.2.2 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.2.1 spec/dummy/app/controllers/pages_controller.rb
pulitzer-0.2.0 spec/dummy/app/controllers/pages_controller.rb