Sha256: f5c39e895bf366e605b99457e9b2df46f66d28926e906704f64aee114a1c71e4

Contents?: true

Size: 218 Bytes

Versions: 3

Compression:

Stored size: 218 Bytes

Contents

module Formol
  module Controllers
    module Nested
      module HasParentForum
        def forum
          @forum ||= Formol::Forum.ready_for_breadcrumb.find(params[:forum_id])
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 lib/formol/controllers/nested/has_parent_forum.rb
formol-0.0.5 lib/formol/controllers/nested/has_parent_forum.rb
formol-0.0.4 lib/formol/controllers/nested/has_parent_forum.rb