Ifsimply::Application.routes.draw do
  devise_for :users, :controllers => { :registrations => 'registrations' }

  root :to => 'home#index'

  scope '/' do
    match '/learn_more'          => 'home#learn_more',          :as => :learn_more
    match '/registration_notify' => 'home#registration_notify', :as => :registration_notify
    match '/access_violation'    => 'home#access_violation',    :as => :access_violation
  end

  resources :clubs, :only => [ :edit, :update ] do
    member do
      # handle image updates
      match '/change_logo' => 'clubs#change_logo', :as => :change_logo_for
      match '/upload_logo' => 'clubs#upload_logo', :as => :upload_logo_for
    end

    resources :courses, :only => [ :create ]
  end

  resources :courses, :only => [ :edit, :update ] do
    resources :lessons, :only => [ :create, :update ]
  end
end

Ifsimply::Application.routes.draw do
  devise_for :users, :controllers => { :registrations => 'registrations' }

  root :to => 'home#index'

  scope '/' do
    match '/learn_more'          => 'home#learn_more',          :as => :learn_more
    match '/registration_notify' => 'home#registration_notify', :as => :registration_notify
    match '/access_violation'    => 'home#access_violation',    :as => :access_violation
  end

  resources :clubs, :only => [ :edit, :update ] do
    member do
      # handle image updates
      match '/change_logo' => 'clubs#change_logo', :as => :change_logo_for
      match '/upload_logo' => 'clubs#upload_logo', :as => :upload_logo_for
    end

    resources :courses, :only => [ :create ]
    resources :blogs,   :only => [ :create ]
  end

  resources :courses, :only => [ :edit, :update ] do
    resources :lessons, :only => [ :create, :update ]
  end

  resources :blogs, :only => [ :edit ]
end

Add Blog create and edit Routes
Add Blog create and edit Routes

Update the routing file to include Blog create and edit routes.
