artirix/browsercms

View on GitHub
app/controllers/cms/inline_content_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method update has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def update
      content_block = Content.find_draft(params[:content_name], params[:id])
      content_block.update_attributes(filtered_content(content_block))
      @page = Page.find_draft(params[:page_id].to_i)
      if (!@page.live?)
Severity: Minor
Found in app/controllers/cms/inline_content_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status