app/controllers/admin/cms_controller.rb
def new

    # check whether we can do this
    not_found and return unless action_allowed?( :create )

    # extract content
    extract_content
    generate_titles

  end
# Shows the creation form for the content.
Shows the creation form for the content.
Shows the creation form for the content .
def new
    not_found and return unless action_allowed?( :create )
    extract_content
    generate_titles
  end
def new not_found and return unless action_allowed? ( :create ) extract_content generate_titles end
Shows the creation form for the content.
Shows the creation form for the content .
# check whether we can do this # extract content