Sha256: a5c942ad16c0101fcafa2f31922d3b729d63042cbbba3167114934d67584070b

Contents?: true

Size: 289 Bytes

Versions: 6

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

class ::Tramway::News::NewsController < ::Tramway::News::ApplicationController
  layout 'tramway/landing/application'

  def show
    @news = ::Tramway::News::News.find params[:id]
    @author = ::Tramway::News::UserDecorator.decorate @news.author
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tramway-news-1.0.4.6 app/controllers/tramway/news/news_controller.rb
tramway-news-1.0.4.5 app/controllers/tramway/news/news_controller.rb
tramway-news-1.0.4.4 app/controllers/tramway/news/news_controller.rb
tramway-news-1.0.5 app/controllers/tramway/news/news_controller.rb
tramway-news-1.0.4.3 app/controllers/tramway/news/news_controller.rb
tramway-news-1.0.4.2 app/controllers/tramway/news/news_controller.rb