Sha256: 2f141accae9e3a2d9630207e22f7abbb920e9a0ceba5e41ced285eff8b781b91

Contents?: true

Size: 177 Bytes

Versions: 9

Compression:

Stored size: 177 Bytes

Contents

class NewsCmsDecorator
  def initialize( _obj)
    @obj = _obj
  end


  def edit_path
    Rails.application.routes.url_helpers.edit_admin_news_path(@obj)
  end


end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
optimacms-0.4.2 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.35 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.34 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.30 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.29 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.23 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.15 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.12 spec/dummy/app/decorators/news_cms_decorator.rb
optimacms-0.3.11 spec/dummy/app/decorators/news_cms_decorator.rb