Clean-up leftover files

This commit is contained in:
Petko Bordjukov 2014-09-01 12:57:06 +03:00
parent a4972b450b
commit 817acc98de
6 changed files with 0 additions and 41 deletions

View File

@ -1,16 +0,0 @@
class SpeakerProfilesController < ApplicationController
before_filter :authenticate_user!
before_action :assign_speaker_profile
def edit
end
def update
end
private
def assign_speaker_profile
@speaker_profile = SpeakerProfile.find_or_initialize_by(user: current_user)
end
end

View File

@ -1,2 +0,0 @@
h1 Lectures#create
p Find me in app/views/lectures/create.html.slim

View File

@ -1,2 +0,0 @@
h1 Lectures#update
p Find me in app/views/lectures/update.html.slim

View File

@ -1,14 +0,0 @@
== simple_form_for @speaker_profile do |form|
p
= form.error_notification
.form-inputs
= form.input :first_name, autofocus: true
= form.input :last_name
= form.input :public_email
= form.input :organisation
= form.input :github
= form.input :twitter
= form.input :mobile_phone
= form.input :biography
= form.button :submit

View File

@ -1,3 +0,0 @@
h1.entry-title =t :edit_speaker_profile
== render 'form'

View File

@ -4,10 +4,6 @@ Rails.application.routes.draw do
devise_for :users, controllers: {registrations: 'registrations', sessions: 'sessions'} devise_for :users, controllers: {registrations: 'registrations', sessions: 'sessions'}
resource :user, only: [] do
resource :speaker_profile, only: [:edit, :update]
end
root 'home#index' root 'home#index'
# The priority is based upon order of creation: first created -> highest priority. # The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes". # See how all your routes lay out with "rake routes".