Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Adds editor, introducer and translator to accessible attributes.
Browse files Browse the repository at this point in the history
This is mostly to allow books to be edited through RailsAdmin. This
would be better handled using roles, allowing access only to admin and
daemon roles.
  • Loading branch information
joegatt committed Jun 2, 2013
1 parent d1cb3c7 commit 5d2794e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Source < ActiveRecord::Base

include SyncHelper

attr_accessible :title, :author, :editor, :lang, :published_date, :pages, :isbn_10,
attr_accessible :title, :author, :editor, :introducer, :translator, :lang, :published_date, :pages, :isbn_10,
:isbn_13, :page_count, :google_books_id, :publisher, :library_thing_id, :open_library_id,
:tag, :dirty, :attempts, :notes

Expand Down

0 comments on commit 5d2794e

Please sign in to comment.